public static enum Types.ServerState extends Enum<Types.ServerState>
Enum Constant and Description |
---|
CONFIGURING |
DEPLOYING |
POWERED_OFF |
POWERED_ON |
POWERING_OFF |
POWERING_ON |
REBOOTING |
REMOVING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Types.ServerState |
fromValue(String v) |
static Types.ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.ServerState POWERING_ON
public static final Types.ServerState POWERING_OFF
public static final Types.ServerState POWERED_ON
public static final Types.ServerState POWERED_OFF
public static final Types.ServerState DEPLOYING
public static final Types.ServerState REBOOTING
public static final Types.ServerState REMOVING
public static final Types.ServerState CONFIGURING
public static final Types.ServerState UNRECOGNIZED
public static Types.ServerState[] values()
for (Types.ServerState c : Types.ServerState.values()) System.out.println(c);
public static Types.ServerState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Types.ServerState fromValue(String v)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.