Enum PlatformStatus
- java.lang.Object
-
- java.lang.Enum<PlatformStatus>
-
- org.odpi.openmetadata.viewservices.serverauthor.api.properties.PlatformStatus
-
- All Implemented Interfaces:
Serializable,Comparable<PlatformStatus>
public enum PlatformStatus extends Enum<PlatformStatus>
The status of the platform for the Server Author View.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVENOT_CONTACTABLEOTHERUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the description for the enum.StringgetName()Return the descriptive name for the enum.intgetOrdinal()Return the numerical value for the enum.StringtoString()toString() JSON-stylestatic PlatformStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static PlatformStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final PlatformStatus UNKNOWN
-
ACTIVE
public static final PlatformStatus ACTIVE
-
NOT_CONTACTABLE
public static final PlatformStatus NOT_CONTACTABLE
-
OTHER
public static final PlatformStatus OTHER
-
-
Method Detail
-
values
public static PlatformStatus[] 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 (PlatformStatus c : PlatformStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlatformStatus 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 nameNullPointerException- if the argument is null
-
getOrdinal
public int getOrdinal()
Return the numerical value for the enum.- Returns:
- int enum value ordinal
-
getName
public String getName()
Return the descriptive name for the enum.- Returns:
- String name
-
getDescription
public String getDescription()
Return the description for the enum.- Returns:
- String description
-
toString
public String toString()
toString() JSON-style- Overrides:
toStringin classEnum<PlatformStatus>- Returns:
- string description
-
-