Enum Class RemoteElasticInstanceState
java.lang.Object
java.lang.Enum<RemoteElasticInstanceState>
com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceState
- All Implemented Interfaces:
Serializable
,Comparable<RemoteElasticInstanceState>
,Constable
Represents the state of a
RemoteElasticInstance
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInstance is being bid uponTheRemoteElasticInstance
, for whatever reason, failed to startTheRemoteElasticInstance
now has an EC2 instance ID.The initial state when theRemoteElasticInstance
has been requestedTheRemoteElasticInstance
now has an EC2 instance ID and the instance is now runningTheRemoteElasticInstance
is shutting downTheRemoteElasticInstance
is in the process of starting up.TheRemoteElasticInstance
has terminatedThe State of theRemoteElasticInstance
is unknown -
Method Summary
Modifier and TypeMethodDescriptionboolean
isFinal()
static RemoteElasticInstanceState
Returns the enum constant of this class with the specified name.static RemoteElasticInstanceState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIAL
The initial state when theRemoteElasticInstance
has been requested -
BIDDING
Instance is being bid upon -
STARTING
TheRemoteElasticInstance
is in the process of starting up. In this state no EC instance ID has been set. -
IDENTIFIED
TheRemoteElasticInstance
now has an EC2 instance ID. -
RUNNING
TheRemoteElasticInstance
now has an EC2 instance ID and the instance is now running -
STOPPING
-
STOPPED
-
SHUTTING_DOWN
TheRemoteElasticInstance
is shutting down -
TERMINATED
TheRemoteElasticInstance
has terminated -
FAILED_TO_START
TheRemoteElasticInstance
, for whatever reason, failed to start -
UNKNOWN
The State of theRemoteElasticInstance
is unknown
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isFinal
public boolean isFinal()
-