Package io.milton.principal
Enum PrincipalSearchCriteria.TestType
- java.lang.Object
-
- java.lang.Enum<PrincipalSearchCriteria.TestType>
-
- io.milton.principal.PrincipalSearchCriteria.TestType
-
- All Implemented Interfaces:
Serializable,Comparable<PrincipalSearchCriteria.TestType>
- Enclosing class:
- PrincipalSearchCriteria
public static enum PrincipalSearchCriteria.TestType extends Enum<PrincipalSearchCriteria.TestType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrincipalSearchCriteria.TestTypefromCode(String code)StringgetCode()static PrincipalSearchCriteria.TestTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PrincipalSearchCriteria.TestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final PrincipalSearchCriteria.TestType ANY
-
ALL
public static final PrincipalSearchCriteria.TestType ALL
-
-
Method Detail
-
values
public static PrincipalSearchCriteria.TestType[] 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 (PrincipalSearchCriteria.TestType c : PrincipalSearchCriteria.TestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrincipalSearchCriteria.TestType 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
-
fromCode
public static PrincipalSearchCriteria.TestType fromCode(String code)
-
getCode
public String getCode()
-
-