java.lang.Object
java.lang.Enum<UpdateType>
net.i2p.update.UpdateType
All Implemented Interfaces:
Serializable, Comparable<UpdateType>, java.lang.constant.Constable

public enum UpdateTypeextends Enum<UpdateType>
What to update.
  • Enum Constant Details

    • TYPE_DUMMY

      public static final UpdateType TYPE_DUMMY
      Dummy: internal use only.
    • NEWS

      public static final UpdateType NEWS
      News and announcements.
    • ROUTER_SIGNED

      public static final UpdateType ROUTER_SIGNED
      Signed router updates.
    • ROUTER_UNSIGNED

      public static final UpdateType ROUTER_UNSIGNED
      Unsigned router updates.
    • PLUGIN

      public static final UpdateType PLUGIN
      Plugin updates.
    • GEOIP

      public static final UpdateType GEOIP
      GeoIP database updates.
    • BLOCKLIST

      public static final UpdateType BLOCKLIST
      Blocklist updates.
    • RESEED

      public static final UpdateType RESEED
      Unused reseed data updates.
    • HOMEPAGE

      public static final UpdateType HOMEPAGE
      Unused homepage updates.
    • ADDRESSBOOK

      public static final UpdateType ADDRESSBOOK
      Unused addressbook updates.
    • ROUTER_SIGNED_SU3

      public static final UpdateType ROUTER_SIGNED_SU3
      Signed router updates in SU3 format @since 0.9.9.
    • NEWS_SU3

      public static final UpdateType NEWS_SU3
      News updates in SU3 format @since 0.9.15.
    • ROUTER_DEV_SU3

      public static final UpdateType ROUTER_DEV_SU3
      Development router updates in SU3 format @since 0.9.17.
    • API

      public static final UpdateType API
      API updates @since 0.9.53.
  • Constructor Details

    • UpdateType

      private UpdateType()
  • Method Details

    • values

      public static UpdateType[] 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

      public static UpdateType valueOf(String name)
      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 name
      NullPointerException - if the argument is null