Enum UpgradeEvent.Type

    • Enum Constant Detail

      • INITIALIZED

        public static final UpgradeEvent.Type INITIALIZED
        Indicates that a new upgrade was initialized.
      • UPGRADED

        public static final UpgradeEvent.Type UPGRADED
        Indicates that mastership was reassigned to the upgraded cluster.
      • COMMITTED

        public static final UpgradeEvent.Type COMMITTED
        Indicates that an upgrade was committed.
      • ROLLED_BACK

        public static final UpgradeEvent.Type ROLLED_BACK
        Indicates that an upgrade was rolled back.
      • RESET

        public static final UpgradeEvent.Type RESET
        Indicates that an upgrade was reset.
    • Method Detail

      • values

        public static UpgradeEvent.Type[] 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 (UpgradeEvent.Type c : UpgradeEvent.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UpgradeEvent.Type 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