public static enum VersionService.CreateVersionValidationResult.Reason extends Enum<VersionService.CreateVersionValidationResult.Reason>
Enum Constant and Description |
---|
BAD_NAME
Version name is not valid.
|
BAD_PROJECT
Project was not specified.
|
BAD_RELEASE_DATE
The release date specified was invalid.
|
BAD_START_DATE
The start date specified was invalid.
|
BAD_START_RELEASE_DATE_ORDER
The start date is after the release date.
|
DUPLICATE_NAME
Version name already exists for that project.
|
FORBIDDEN
Not allowed to create a version.
|
VERSION_NAME_TOO_LONG
The value was beyond specified length
|
Modifier and Type | Method and Description |
---|---|
static VersionService.CreateVersionValidationResult.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionService.CreateVersionValidationResult.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionService.CreateVersionValidationResult.Reason FORBIDDEN
public static final VersionService.CreateVersionValidationResult.Reason BAD_PROJECT
public static final VersionService.CreateVersionValidationResult.Reason BAD_NAME
public static final VersionService.CreateVersionValidationResult.Reason DUPLICATE_NAME
public static final VersionService.CreateVersionValidationResult.Reason BAD_START_DATE
public static final VersionService.CreateVersionValidationResult.Reason BAD_RELEASE_DATE
public static final VersionService.CreateVersionValidationResult.Reason BAD_START_RELEASE_DATE_ORDER
public static final VersionService.CreateVersionValidationResult.Reason VERSION_NAME_TOO_LONG
public static VersionService.CreateVersionValidationResult.Reason[] values()
for (VersionService.CreateVersionValidationResult.Reason c : VersionService.CreateVersionValidationResult.Reason.values()) System.out.println(c);
public static VersionService.CreateVersionValidationResult.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-2022 Atlassian. All Rights Reserved.