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 BIDDINGInstance is being bid uponFAILED_TO_STARTTheRemoteElasticInstance, for whatever reason, failed to startIDENTIFIEDTheRemoteElasticInstancenow has an EC2 instance ID.INITIALThe initial state when theRemoteElasticInstancehas been requestedRUNNINGTheRemoteElasticInstancenow has an EC2 instance ID and the instance is now runningSHUTTING_DOWNTheRemoteElasticInstanceis shutting downSTARTINGTheRemoteElasticInstanceis in the process of starting up.STOPPEDSTOPPINGTERMINATEDTheRemoteElasticInstancehas terminatedUNKNOWNThe State of theRemoteElasticInstanceis unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFinal()static RemoteElasticInstanceStatevalueOf(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 theRemoteElasticInstancehas been requested
-
BIDDING
public static final RemoteElasticInstanceState BIDDING
Instance is being bid upon
-
STARTING
public static final RemoteElasticInstanceState STARTING
TheRemoteElasticInstanceis in the process of starting up. In this state no EC instance ID has been set.
-
IDENTIFIED
public static final RemoteElasticInstanceState IDENTIFIED
TheRemoteElasticInstancenow has an EC2 instance ID.
-
RUNNING
public static final RemoteElasticInstanceState RUNNING
TheRemoteElasticInstancenow 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
TheRemoteElasticInstanceis shutting down
-
TERMINATED
public static final RemoteElasticInstanceState TERMINATED
TheRemoteElasticInstancehas 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 theRemoteElasticInstanceis 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()
-
-