public static class NewsMetadata.Update extends Object implements Comparable<NewsMetadata.Update>
Defines update types and their associated distribution sources including torrent, clearnet, SSL, and I2P network URLs. Supports type-based ordering for update priority management.
All source lists may be empty if no sources are available for this update type.
| Modifier and Type | Field and Description |
|---|---|
List<String> |
clearnet
Stored as of 0.9.52, but there is no registered handler
|
List<String> |
i2pnet
In-net URLs
|
List<String> |
ssl
Stored as of 0.9.52, but there is no registered handler
|
String |
torrent |
String |
type |
| Constructor and Description |
|---|
Update() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NewsMetadata.Update other) |
boolean |
equals(Object o)
For findbugs.
|
protected int |
getTypeOrder()
lower is preferred
|
int |
hashCode()
For findbugs.
|
public int compareTo(NewsMetadata.Update other)
compareTo in interface Comparable<NewsMetadata.Update>public boolean equals(Object o)
protected int getTypeOrder()