public static enum VersionService.ValidationResult.Reason extends Enum<VersionService.ValidationResult.Reason>
Enum Constant and Description |
---|
FORBIDDEN
Not allowed to create a version.
|
NOT_FOUND
Version not found
|
SWAP_TO_VERSION_INVALID
The version specified to swap to is invalid
|
Modifier and Type | Method and Description |
---|---|
static VersionService.ValidationResult.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionService.ValidationResult.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionService.ValidationResult.Reason FORBIDDEN
public static final VersionService.ValidationResult.Reason NOT_FOUND
public static final VersionService.ValidationResult.Reason SWAP_TO_VERSION_INVALID
public static VersionService.ValidationResult.Reason[] values()
for (VersionService.ValidationResult.Reason c : VersionService.ValidationResult.Reason.values()) System.out.println(c);
public static VersionService.ValidationResult.Reason 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 © 2002-2021 Atlassian. All Rights Reserved.
View cookie preferences