java.lang.Object
net.i2p.router.news.NewsMetadata.Release
- All Implemented Interfaces:
Comparable<NewsMetadata.Release>
- Enclosing class:
NewsMetadata
Represents a software release with version requirements and update sources.
Contains release metadata including publication date, version requirements, and available update sources. Supports version comparison for determining latest releases and update ordering.
All update source lists may be empty if no sources are available for this release. Provides structured access to release information for update management and version checking.
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe release date.The I2P version of this release.The minimum Java version required.The minimum I2P version required.The list of available updates.Constructor Summary
ConstructorsConstructorDescriptionRelease()Every field is left null or zero; the Atom parser fills them in as it reads the release element.Method Summary
All MethodsModifier and TypeMethodDescriptionintcompareTo(NewsMetadata.Release other) booleanFor findbugs.inthashCode()For findbugs.
Field Details
date
public long dateThe release date.minVersion
The minimum I2P version required.minJavaVersion
The minimum Java version required.i2pVersion
The I2P version of this release.updates
The list of available updates.
Constructor Details
Release
public Release()Every field is left null or zero; the Atom parser fills them in as it reads the release element.
Method Details
compareTo
- Specified by:
compareToin interfaceComparable<NewsMetadata.Release>
equals
hashCode