Enum DeploymentVersionState
- java.lang.Object
-
- java.lang.Enum<DeploymentVersionState>
-
- com.atlassian.bamboo.deployments.versions.DeploymentVersionState
-
- All Implemented Interfaces:
Serializable
,Comparable<DeploymentVersionState>
public enum DeploymentVersionState extends Enum<DeploymentVersionState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROVED
BROKEN
INCOMPLETE
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentVersionState
getInstance(String state)
@NotNull String
getValue()
String
toString()
static DeploymentVersionState
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeploymentVersionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final DeploymentVersionState UNKNOWN
-
APPROVED
public static final DeploymentVersionState APPROVED
-
BROKEN
public static final DeploymentVersionState BROKEN
-
INCOMPLETE
public static final DeploymentVersionState INCOMPLETE
-
-
Method Detail
-
values
public static DeploymentVersionState[] 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 (DeploymentVersionState c : DeploymentVersionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentVersionState 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
-
getValue
@NotNull public @NotNull String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<DeploymentVersionState>
-
getInstance
public static DeploymentVersionState getInstance(String state)
-
-