Package oracle.pg.rdbms
Enum EnvironmentStatus
- java.lang.Object
-
- java.lang.Enum<EnvironmentStatus>
-
- oracle.pg.rdbms.EnvironmentStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EnvironmentStatus>
public enum EnvironmentStatus extends java.lang.Enum<EnvironmentStatus>
The ADB Graph environment status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHED
Currently attached to an environment.ATTACHING
Currently being attached to an environment.DETACHED
Currently not attached to an environment.DETACHING
In the process of detaching from an environment.RESTARTING
Currently being restarting the previously attached environment.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnvironmentStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EnvironmentStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTACHING
public static final EnvironmentStatus ATTACHING
Currently being attached to an environment.
-
ATTACHED
public static final EnvironmentStatus ATTACHED
Currently attached to an environment.
-
RESTARTING
public static final EnvironmentStatus RESTARTING
Currently being restarting the previously attached environment.
-
DETACHING
public static final EnvironmentStatus DETACHING
In the process of detaching from an environment.
-
DETACHED
public static final EnvironmentStatus DETACHED
Currently not attached to an environment.
-
-
Method Detail
-
values
public static EnvironmentStatus[] 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 (EnvironmentStatus c : EnvironmentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnvironmentStatus 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 namejava.lang.NullPointerException
- if the argument is null
-
-