Enum Class StashKeyUpdateStatus.Status
java.lang.Object
java.lang.Enum<StashKeyUpdateStatus.Status>
com.atlassian.bamboo.plugins.stash.StashKeyUpdateStatus.Status
- All Implemented Interfaces:
Serializable
,Comparable<StashKeyUpdateStatus.Status>
,Constable
- Enclosing class:
- StashKeyUpdateStatus
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionfailed: old key invalid, new key not generatedfailed: validity of the existing key couldn't not be checkedsuccess: new key generated and savedsuccess: no change required -
Method Summary
Modifier and TypeMethodDescriptionstatic StashKeyUpdateStatus.Status
Returns the enum constant of this class with the specified name.static StashKeyUpdateStatus.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OLD_KEY_OK
success: no change required -
NEW_KEY
success: new key generated and saved -
KEY_VALIDITY_UNKNOWN
failed: validity of the existing key couldn't not be checked -
KEY_GENERATION_FAILED
failed: old key invalid, new key not generated
-
-
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
-