Enum AbstractSpecificationInterceptor.Type
- java.lang.Object
-
- java.lang.Enum<AbstractSpecificationInterceptor.Type>
-
- io.micronaut.data.runtime.intercept.criteria.AbstractSpecificationInterceptor.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractSpecificationInterceptor.Type>
- Enclosing class:
- AbstractSpecificationInterceptor<T,R>
protected static enum AbstractSpecificationInterceptor.Type extends java.lang.Enum<AbstractSpecificationInterceptor.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTDELETE_ALLEXISTSFIND_ALLFIND_ONEFIND_PAGEUPDATE_ALL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractSpecificationInterceptor.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AbstractSpecificationInterceptor.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT
public static final AbstractSpecificationInterceptor.Type COUNT
-
FIND_ONE
public static final AbstractSpecificationInterceptor.Type FIND_ONE
-
FIND_PAGE
public static final AbstractSpecificationInterceptor.Type FIND_PAGE
-
FIND_ALL
public static final AbstractSpecificationInterceptor.Type FIND_ALL
-
DELETE_ALL
public static final AbstractSpecificationInterceptor.Type DELETE_ALL
-
UPDATE_ALL
public static final AbstractSpecificationInterceptor.Type UPDATE_ALL
-
EXISTS
public static final AbstractSpecificationInterceptor.Type EXISTS
-
-
Method Detail
-
values
public static AbstractSpecificationInterceptor.Type[] 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 (AbstractSpecificationInterceptor.Type c : AbstractSpecificationInterceptor.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractSpecificationInterceptor.Type 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
-
-