java.lang.Object
net.i2p.CoreVersion
Expose a version string.
See also: RouterVersion, VersionComparator, and the update subsystem.
Field Summary
Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionstatic StringFor Vuze.static voidEntry point for CLI version display.
Field Details
ID
VERSION
The version used when checking for router updates, and exchanged between router and client over I2CP. This is the marketing and user-visible version.If we ever need a point release for a specific architecture only, append ".1" to VERSION and leave PUBLISHED_VERSION unchanged. Otherwise, the same as PUBLISHED_VERSION.
RouterVersion.FULL_VERSION is suggested for display to the user.
- See Also:
PUBLISHED_VERSION
The version published in the netdb via StatisticsManager. This is the API version.It must not go to 1.x for several years, because through 0.9.49, the Sybil analyzer blocked releases that didn't start with "0.9."
If we ever need a point release for a specific architecture only, append ".1" to VERSION and leave PUBLISHED_VERSION unchanged. Otherwise, the same as VERSION.
RouterVersion.FULL_VERSION is suggested for display to the user.
- See Also:
Constructor Details
CoreVersion
private CoreVersion()Private constructor to prevent instantiation.
Method Details
getVersion
main
Entry point for CLI version display.- Parameters:
args- command line arguments, unused; the version is always printed for both the core and the published API