|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<VersionService.CreateVersionValidationResult.Reason>
com.atlassian.jira.bc.project.version.VersionService.CreateVersionValidationResult.Reason
public static enum VersionService.CreateVersionValidationResult.Reason
| Enum Constant Summary | |
|---|---|
BAD_NAME
Version name is not valid. |
|
BAD_PROJECT
Project was not specified. |
|
BAD_RELEASE_DATE
The release date specified was invalid. |
|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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_RELEASE_DATE
public static final VersionService.CreateVersionValidationResult.Reason VERSION_NAME_TOO_LONG
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||