Package com.atlassian.bamboo.validation
Enum ValidationService.ValidationType
- java.lang.Object
-
- java.lang.Enum<ValidationService.ValidationType>
-
- com.atlassian.bamboo.validation.ValidationService.ValidationType
-
- All Implemented Interfaces:
Serializable
,Comparable<ValidationService.ValidationType>
- Enclosing interface:
- ValidationService
public static enum ValidationService.ValidationType extends Enum<ValidationService.ValidationType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getErrorPrefix()
@NotNull Pattern
getKeyPattern()
static ValidationService.ValidationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValidationService.ValidationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOB
public static final ValidationService.ValidationType JOB
-
CHAIN
public static final ValidationService.ValidationType CHAIN
-
PROJECT
public static final ValidationService.ValidationType PROJECT
-
-
Method Detail
-
values
public static ValidationService.ValidationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ValidationService.ValidationType c : ValidationService.ValidationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationService.ValidationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getErrorPrefix
@NotNull public @NotNull String getErrorPrefix()
-
getKeyPattern
@NotNull public @NotNull Pattern getKeyPattern()
-
-