org.gcube.common.core.contexts
Enum GCUBEServiceContext.Status
java.lang.Object
java.lang.Enum<GCUBEServiceContext.Status>
org.gcube.common.core.contexts.GCUBEServiceContext.Status
- All Implemented Interfaces:
- Serializable, Comparable<GCUBEServiceContext.Status>
- Enclosing class:
- GCUBEServiceContext
public static enum GCUBEServiceContext.Status
- extends Enum<GCUBEServiceContext.Status>
Enumerates the possible statuses of the service.
DEPLOYED
public static final GCUBEServiceContext.Status DEPLOYED
INITIALISED
public static final GCUBEServiceContext.Status INITIALISED
READIED
public static final GCUBEServiceContext.Status READIED
UPDATED
public static final GCUBEServiceContext.Status UPDATED
STATECHANGED
public static final GCUBEServiceContext.Status STATECHANGED
FAILED
public static final GCUBEServiceContext.Status FAILED
DOWN
public static final GCUBEServiceContext.Status DOWN
UNREACHABLE
public static final GCUBEServiceContext.Status UNREACHABLE
type
protected final GCUBEServiceContext.Status.Type type
- The status type.
values
public static GCUBEServiceContext.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 (GCUBEServiceContext.Status c : GCUBEServiceContext.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 GCUBEServiceContext.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
Copyright © 2012. All Rights Reserved.