org.gcube.common.core.contexts
Enum GHNContext.Status
java.lang.Object
java.lang.Enum<GHNContext.Status>
org.gcube.common.core.contexts.GHNContext.Status
- All Implemented Interfaces:
- Serializable, Comparable<GHNContext.Status>
- Enclosing class:
- GHNContext
public static enum GHNContext.Status
- extends Enum<GHNContext.Status>
Enumerates the possible statuses of the GHN.
DEPLOYED
public static final GHNContext.Status DEPLOYED
STARTED
public static final GHNContext.Status STARTED
CERTIFIED
public static final GHNContext.Status CERTIFIED
UPDATED
public static final GHNContext.Status UPDATED
READY
public static final GHNContext.Status READY
FAILED
public static final GHNContext.Status FAILED
DOWN
public static final GHNContext.Status DOWN
UNREACHABLE
public static final GHNContext.Status UNREACHABLE
values
public static GHNContext.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 (GHNContext.Status c : GHNContext.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 GHNContext.Status 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
previous
public abstract List<GHNContext.Status> previous()
- Returns the list of statuses from which this status may be reached.
- Returns:
- the status list.
Copyright © 2012. All Rights Reserved.