Package org.jenkinsci.plugins.cloudstats
Enum ProvisioningActivity.Phase
- java.lang.Object
-
- java.lang.Enum<ProvisioningActivity.Phase>
-
- org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Phase
-
- All Implemented Interfaces:
Serializable
,Comparable<ProvisioningActivity.Phase>
- Enclosing class:
- ProvisioningActivity
public static enum ProvisioningActivity.Phase extends Enum<ProvisioningActivity.Phase>
Progress of an activity.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED
The resources (if any) as well as the computer should be gone.LAUNCHING
Agent is being launched,OPERATING
The node is connected as Jenkins agent, possibly running builds.PROVISIONING
Acquiring the agent is in progress.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProvisioningActivity.Phase
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProvisioningActivity.Phase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROVISIONING
public static final ProvisioningActivity.Phase PROVISIONING
Acquiring the agent is in progress.
-
LAUNCHING
public static final ProvisioningActivity.Phase LAUNCHING
Agent is being launched,
-
OPERATING
public static final ProvisioningActivity.Phase OPERATING
The node is connected as Jenkins agent, possibly running builds.
-
COMPLETED
public static final ProvisioningActivity.Phase COMPLETED
The resources (if any) as well as the computer should be gone.This phase is never terminated.
-
-
Method Detail
-
values
public static ProvisioningActivity.Phase[] 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 (ProvisioningActivity.Phase c : ProvisioningActivity.Phase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProvisioningActivity.Phase 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
-
-