- All Implemented Interfaces:
Serializable, Comparable<UpdateType>, java.lang.constant.Constable
What to update.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnused addressbook updates.API updates @since 0.9.53.Blocklist updates.GeoIP database updates.Unused homepage updates.News and announcements.News updates in SU3 format @since 0.9.15.Plugin updates.Unused reseed data updates.Development router updates in SU3 format @since 0.9.17.Signed router updates.Signed router updates in SU3 format @since 0.9.9.Unsigned router updates.Dummy: internal use only.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionstatic UpdateTypeReturns the enum constant of this class with the specified name.static UpdateType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
TYPE_DUMMY
Dummy: internal use only.NEWS
News and announcements.ROUTER_SIGNED
Signed router updates.ROUTER_UNSIGNED
Unsigned router updates.PLUGIN
Plugin updates.GEOIP
GeoIP database updates.BLOCKLIST
Blocklist updates.RESEED
Unused reseed data updates.HOMEPAGE
Unused homepage updates.ADDRESSBOOK
Unused addressbook updates.ROUTER_SIGNED_SU3
Signed router updates in SU3 format @since 0.9.9.NEWS_SU3
News updates in SU3 format @since 0.9.15.ROUTER_DEV_SU3
Development router updates in SU3 format @since 0.9.17.API
API updates @since 0.9.53.
Constructor Details
UpdateType
private UpdateType()
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null