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 ConstantsEnum ConstantDescriptionInstance is being bid uponTheRemoteElasticInstance, for whatever reason, failed to startTheRemoteElasticInstancenow has an EC2 instance ID.The initial state when theRemoteElasticInstancehas been requestedTheRemoteElasticInstancenow has an EC2 instance ID and the instance is now runningTheRemoteElasticInstanceis shutting downTheRemoteElasticInstanceis in the process of starting up.TheRemoteElasticInstancehas terminatedThe State of theRemoteElasticInstanceis unknown -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFinal()static RemoteElasticInstanceStateReturns 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 theRemoteElasticInstancehas been requested -
BIDDING
Instance is being bid upon -
STARTING
TheRemoteElasticInstanceis in the process of starting up. In this state no EC instance ID has been set. -
IDENTIFIED
TheRemoteElasticInstancenow has an EC2 instance ID. -
RUNNING
TheRemoteElasticInstancenow has an EC2 instance ID and the instance is now running -
STOPPING
-
STOPPED
-
SHUTTING_DOWN
TheRemoteElasticInstanceis shutting down -
TERMINATED
TheRemoteElasticInstancehas terminated -
FAILED_TO_START
TheRemoteElasticInstance, for whatever reason, failed to start -
UNKNOWN
The State of theRemoteElasticInstanceis 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()
-