Enum AbstractLauncher.Status

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AbstractLauncher.Status>
    Enclosing class:
    AbstractLauncher<T extends java.lang.Comparable<T>>

    public static enum AbstractLauncher.Status
    extends java.lang.Enum<AbstractLauncher.Status>
    The Status enumerated type represents the various lifecycle states of a GemFire service (such as a Cache Server, a Locator or a Manager).
    • Method Detail

      • values

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

        public static AbstractLauncher.Status valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOfDescription

        public static AbstractLauncher.Status valueOfDescription​(java.lang.String description)
        Looks up the Status enum type by description. The lookup operation is case-insensitive.
        Parameters:
        description - a String value describing the Locator's status.
        Returns:
        a Status enumerated type matching the description.
      • getDescription

        public java.lang.String getDescription()
        Gets the description of the Status enum type.
        Returns:
        a String describing the Status enum type.
      • toString

        public java.lang.String toString()
        Gets a String representation of the Status enum type.
        Overrides:
        toString in class java.lang.Enum<AbstractLauncher.Status>
        Returns:
        a String representing the Status enum type.
        See Also:
        getDescription()