public static enum SpaceDef.SpaceState extends java.lang.Enum<SpaceDef.SpaceState>
Enum Constant and Description |
---|
INITIAL
Initial space state
|
INVALID
Invalid state
|
LOADING
Space in loading state
|
READY
Space ready for space operations
|
RECOVER
Space state is failed due to member loss
|
SUSPENDED
Space suspended for space operations
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SpaceDef.SpaceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpaceDef.SpaceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceDef.SpaceState INITIAL
public static final SpaceDef.SpaceState LOADING
public static final SpaceDef.SpaceState READY
public static final SpaceDef.SpaceState SUSPENDED
public static final SpaceDef.SpaceState RECOVER
public static final SpaceDef.SpaceState INVALID
public static SpaceDef.SpaceState[] values()
for (SpaceDef.SpaceState c : SpaceDef.SpaceState.values()) System.out.println(c);
public static SpaceDef.SpaceState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.