Enum RemoteElasticInstanceState
- java.lang.Object
-
- java.lang.Enum<RemoteElasticInstanceState>
-
- com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceState
-
- All Implemented Interfaces:
Serializable
,Comparable<RemoteElasticInstanceState>
public enum RemoteElasticInstanceState extends Enum<RemoteElasticInstanceState>
Represents the state of aRemoteElasticInstance
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIDDING
Instance is being bid uponFAILED_TO_START
TheRemoteElasticInstance
, for whatever reason, failed to startIDENTIFIED
TheRemoteElasticInstance
now has an EC2 instance ID.INITIAL
The initial state when theRemoteElasticInstance
has been requestedRUNNING
TheRemoteElasticInstance
now has an EC2 instance ID and the instance is now runningSHUTTING_DOWN
TheRemoteElasticInstance
is shutting downSTARTING
TheRemoteElasticInstance
is in the process of starting up.STOPPED
STOPPING
TERMINATED
TheRemoteElasticInstance
has terminatedUNKNOWN
The State of theRemoteElasticInstance
is unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFinal()
static RemoteElasticInstanceState
valueOf(String name)
Returns the enum constant of this type with the specified name.static RemoteElasticInstanceState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIAL
public static final RemoteElasticInstanceState INITIAL
The initial state when theRemoteElasticInstance
has been requested
-
BIDDING
public static final RemoteElasticInstanceState BIDDING
Instance is being bid upon
-
STARTING
public static final RemoteElasticInstanceState STARTING
TheRemoteElasticInstance
is in the process of starting up. In this state no EC instance ID has been set.
-
IDENTIFIED
public static final RemoteElasticInstanceState IDENTIFIED
TheRemoteElasticInstance
now has an EC2 instance ID.
-
RUNNING
public static final RemoteElasticInstanceState RUNNING
TheRemoteElasticInstance
now has an EC2 instance ID and the instance is now running
-
STOPPING
public static final RemoteElasticInstanceState STOPPING
-
STOPPED
public static final RemoteElasticInstanceState STOPPED
-
SHUTTING_DOWN
public static final RemoteElasticInstanceState SHUTTING_DOWN
TheRemoteElasticInstance
is shutting down
-
TERMINATED
public static final RemoteElasticInstanceState TERMINATED
TheRemoteElasticInstance
has terminated
-
FAILED_TO_START
public static final RemoteElasticInstanceState FAILED_TO_START
TheRemoteElasticInstance
, for whatever reason, failed to start
-
UNKNOWN
public static final RemoteElasticInstanceState UNKNOWN
The State of theRemoteElasticInstance
is unknown
-
-
Method Detail
-
values
public static RemoteElasticInstanceState[] 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 (RemoteElasticInstanceState c : RemoteElasticInstanceState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemoteElasticInstanceState 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 nameNullPointerException
- if the argument is null
-
isFinal
public boolean isFinal()
-
-