Enum UpdateType

    • Enum Constant Detail

      • TYPE_DUMMY

        public static final UpdateType TYPE_DUMMY
        Dummy: internal use only
      • ROUTER_SIGNED

        public static final UpdateType ROUTER_SIGNED
      • ROUTER_UNSIGNED

        public static final UpdateType ROUTER_UNSIGNED
      • BLOCKLIST

        public static final UpdateType BLOCKLIST
      • RESEED

        public static final UpdateType RESEED
        unused
      • HOMEPAGE

        public static final UpdateType HOMEPAGE
        unused
      • ADDRESSBOOK

        public static final UpdateType ADDRESSBOOK
        unused
      • ROUTER_SIGNED_SU3

        public static final UpdateType ROUTER_SIGNED_SU3
        Since:
        0.9.9
      • NEWS_SU3

        public static final UpdateType NEWS_SU3
        Since:
        0.9.15
      • ROUTER_DEV_SU3

        public static final UpdateType ROUTER_DEV_SU3
        Since:
        0.9.17
    • Method Detail

      • values

        public static UpdateType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UpdateType c : UpdateType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UpdateType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null