Enum Class Environment.ReleaseApprovalPrerequisite
java.lang.Object
java.lang.Enum<Environment.ReleaseApprovalPrerequisite>
com.atlassian.bamboo.specs.api.builders.deployment.Environment.ReleaseApprovalPrerequisite
- All Implemented Interfaces:
Serializable
,Comparable<Environment.ReleaseApprovalPrerequisite>
,Constable
- Enclosing class:
- Environment
public static enum Environment.ReleaseApprovalPrerequisite
extends Enum<Environment.ReleaseApprovalPrerequisite>
Specifies whether the release must be approved before deploying to the environment and if broken releases are allowed.
- Since:
- 9.4
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe release can be deployed to the environment if there is at least one approval and the release is not marked as broken by anyone.There are no requirements.The release can be deployed to the environment if it's not marked as broken by anyone. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
There are no requirements. Any release can be deployed to the environment. -
NOT_BROKEN
The release can be deployed to the environment if it's not marked as broken by anyone. This is the default prerequisite. -
APPROVED
The release can be deployed to the environment if there is at least one approval and the release is not marked as broken by anyone.
-
-
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
-
getDefault
-