Enum ClusterStatus

    • Enum Constant Detail

      • INIT

        public static final ClusterStatus INIT
        Initialization of the server
      • ACTIVE

        public static final ClusterStatus ACTIVE
        Server is running
      • CREATING

        public static final ClusterStatus CREATING
        Server is creating
      • UPDATING

        public static final ClusterStatus UPDATING
        Server is updating
      • RESIZING

        public static final ClusterStatus RESIZING
        Server is resizing
      • DELETING

        public static final ClusterStatus DELETING
        Server is deleting
      • CHECKING

        public static final ClusterStatus CHECKING
        Server is checking
      • RECOVERING

        public static final ClusterStatus RECOVERING
        Server is recovering
      • CRITICAL

        public static final ClusterStatus CRITICAL
        Server is critical
      • ERROR

        public static final ClusterStatus ERROR
        Failed in some conditions,eg. failed to create
    • Method Detail

      • values

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

        public static ClusterStatus 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