Enum GovernanceEngineStatus
- java.lang.Object
-
- java.lang.Enum<GovernanceEngineStatus>
-
- org.odpi.openmetadata.governanceservers.enginehostservices.properties.GovernanceEngineStatus
-
- All Implemented Interfaces:
Serializable,Comparable<GovernanceEngineStatus>
public enum GovernanceEngineStatus extends Enum<GovernanceEngineStatus>
GovernanceEngineStatus defines the status of a governance engine.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNEDCONFIGURINGDISABLEDFAILEDRUNNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrdinal()Return the code for this enum instanceStringgetStatusDescription()Return the default description for the type for this enum instance.StringgetStatusName()Return the default name for this enum instance.static GovernanceEngineStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static GovernanceEngineStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSIGNED
public static final GovernanceEngineStatus ASSIGNED
-
CONFIGURING
public static final GovernanceEngineStatus CONFIGURING
-
RUNNING
public static final GovernanceEngineStatus RUNNING
-
FAILED
public static final GovernanceEngineStatus FAILED
-
DISABLED
public static final GovernanceEngineStatus DISABLED
-
-
Method Detail
-
values
public static GovernanceEngineStatus[] 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 (GovernanceEngineStatus c : GovernanceEngineStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GovernanceEngineStatus 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 code for this enum instance- Returns:
- int type code
-
getStatusName
public String getStatusName()
Return the default name for this enum instance.- Returns:
- String default name
-
getStatusDescription
public String getStatusDescription()
Return the default description for the type for this enum instance.- Returns:
- String default description
-
-