Enum Class VersionService.CreateVersionValidationResult.Reason
java.lang.Object
java.lang.Enum<VersionService.CreateVersionValidationResult.Reason>
com.atlassian.jira.bc.project.version.VersionService.CreateVersionValidationResult.Reason
- All Implemented Interfaces:
Serializable
,Comparable<VersionService.CreateVersionValidationResult.Reason>
,Constable
- Enclosing class:
- VersionService.CreateVersionValidationResult
public static enum VersionService.CreateVersionValidationResult.Reason
extends Enum<VersionService.CreateVersionValidationResult.Reason>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVersion name is not valid.Project was not specified.The release date specified was invalid.The start date specified was invalid.The start date is after the release date.Version name already exists for that project.Not allowed to create a version.The value was beyond specified length -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORBIDDEN
Not allowed to create a version. -
BAD_PROJECT
Project was not specified. -
BAD_NAME
Version name is not valid. -
DUPLICATE_NAME
Version name already exists for that project. -
BAD_START_DATE
The start date specified was invalid.- Since:
- v6.0
-
BAD_RELEASE_DATE
The release date specified was invalid. -
BAD_START_RELEASE_DATE_ORDER
public static final VersionService.CreateVersionValidationResult.Reason BAD_START_RELEASE_DATE_ORDERThe start date is after the release date.- Since:
- v6.0
-
VERSION_NAME_TOO_LONG
The value was beyond specified length
-
-
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
-