Package javax.validation.executable
Enum ExecutableType
- java.lang.Object
-
- java.lang.Enum<ExecutableType>
-
- javax.validation.executable.ExecutableType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExecutableType>
public enum ExecutableType extends java.lang.Enum<ExecutableType>
- Since:
- 1.1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
CONSTRUCTORS
GETTER_METHODS
IMPLICIT
NON_GETTER_METHODS
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutableType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExecutableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMPLICIT
public static final ExecutableType IMPLICIT
-
NONE
public static final ExecutableType NONE
-
CONSTRUCTORS
public static final ExecutableType CONSTRUCTORS
-
NON_GETTER_METHODS
public static final ExecutableType NON_GETTER_METHODS
-
GETTER_METHODS
public static final ExecutableType GETTER_METHODS
-
ALL
public static final ExecutableType ALL
-
-
Method Detail
-
values
public static ExecutableType[] 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 (ExecutableType c : ExecutableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutableType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-