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> | clearnetStored as of 0.9.52, but there is no registered handler |
List<String> | i2pnetIn-net URLs |
List<String> | sslStored as of 0.9.52, but there is no registered handler |
String | torrentThe torrent source URL |
String | typeThe update type (su3, su2, etc.) |
| Constructor and Description |
|---|
Update() |
| Modifier and Type | Method and Description |
|---|---|
int | compareTo(NewsMetadata.Update other) |
boolean | equals(Object o)For findbugs. |
protected int | getTypeOrder()Get the numeric order for this update type. |
int | hashCode()For findbugs. |
public String torrent
public String type
public int compareTo(NewsMetadata.Update other)
compareTo in interface Comparable<NewsMetadata.Update>public boolean equals(Object o)
protected int getTypeOrder()