Enum DeploymentState
java.lang.Object
java.lang.Enum<DeploymentState>
com.atlassian.bitbucket.jenkins.internal.model.deployment.DeploymentState
- All Implemented Interfaces:
Serializable
,Comparable<DeploymentState>
The possible states of a deployment.
- Since:
- 3.1.0
-
Enum Constant Summary
Enum ConstantDescriptionThe deployment started, but was stopped part way through.The deployment failed to complete.The deployment is currently in progress.The deployment has been scheduled, but has not started.The commit is no longer deployed to the the environment.The deployment was successful.The state of the deployment is not known. -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptiveText
(String jobName, String environmentName) static DeploymentState
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 Details
-
PENDING
The deployment has been scheduled, but has not started. -
IN_PROGRESS
The deployment is currently in progress. -
CANCELLED
The deployment started, but was stopped part way through. -
FAILED
The deployment failed to complete. -
ROLLED_BACK
The commit is no longer deployed to the the environment. -
SUCCESSFUL
The deployment was successful. -
UNKNOWN
The state of the deployment is not known.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getDescriptiveText
-