public static enum StashKeyUpdateStatus.Status extends Enum<StashKeyUpdateStatus.Status>
Enum Constant and Description |
---|
KEY_GENERATION_FAILED
failed: old key invalid, new key not generated
|
KEY_VALIDITY_UNKNOWN
failed: validity of the existing key couldn't not be checked
|
NEW_KEY
success: new key generated and saved
|
OLD_KEY_OK
success: no change required
|
Modifier and Type | Method and Description |
---|---|
static StashKeyUpdateStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StashKeyUpdateStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StashKeyUpdateStatus.Status OLD_KEY_OK
public static final StashKeyUpdateStatus.Status NEW_KEY
public static final StashKeyUpdateStatus.Status KEY_VALIDITY_UNKNOWN
public static final StashKeyUpdateStatus.Status KEY_GENERATION_FAILED
public static StashKeyUpdateStatus.Status[] values()
for (StashKeyUpdateStatus.Status c : StashKeyUpdateStatus.Status.values()) System.out.println(c);
public static StashKeyUpdateStatus.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.