Enum DeploymentState
- java.lang.Object
- 
- java.lang.Enum<DeploymentState>
- 
- com.atlassian.bitbucket.jenkins.internal.model.deployment.DeploymentState
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<DeploymentState>
 
 public enum DeploymentState extends Enum<DeploymentState> The possible states of a deployment.- Since:
- 3.1.0
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CANCELLEDThe deployment started, but was stopped part way through.FAILEDThe deployment failed to complete.IN_PROGRESSThe deployment is currently in progress.PENDINGThe deployment has been scheduled, but has not started.ROLLED_BACKThe commit is no longer deployed to the the environment.SUCCESSFULThe deployment was successful.UNKNOWNThe state of the deployment is not known.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescriptiveText(String jobName, String environmentName)static DeploymentStatevalueOf(String name)Returns the enum constant of this type with the specified name.static DeploymentState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
PENDINGpublic static final DeploymentState PENDING The deployment has been scheduled, but has not started.
 - 
IN_PROGRESSpublic static final DeploymentState IN_PROGRESS The deployment is currently in progress.
 - 
CANCELLEDpublic static final DeploymentState CANCELLED The deployment started, but was stopped part way through.
 - 
FAILEDpublic static final DeploymentState FAILED The deployment failed to complete.
 - 
ROLLED_BACKpublic static final DeploymentState ROLLED_BACK The commit is no longer deployed to the the environment.
 - 
SUCCESSFULpublic static final DeploymentState SUCCESSFUL The deployment was successful.
 - 
UNKNOWNpublic static final DeploymentState UNKNOWN The state of the deployment is not known.
 
- 
 - 
Method Detail- 
valuespublic static DeploymentState[] 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 (DeploymentState c : DeploymentState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DeploymentState 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-