Enum AbstractEventSourceInterceptor.EventType
- java.lang.Object
-
- java.lang.Enum<AbstractEventSourceInterceptor.EventType>
-
- io.micronaut.coherence.data.interceptors.AbstractEventSourceInterceptor.EventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractEventSourceInterceptor.EventType>
- Enclosing class:
- AbstractEventSourceInterceptor
public static enum AbstractEventSourceInterceptor.EventType extends java.lang.Enum<AbstractEventSourceInterceptor.EventType>
Various entity event types used by Micronaut Data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POST_PERSIST
POST_REMOVE
POST_UPDATE
PRE_PERSIST
PRE_REMOVE
PRE_UPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractEventSourceInterceptor.EventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractEventSourceInterceptor.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRE_PERSIST
public static final AbstractEventSourceInterceptor.EventType PRE_PERSIST
- See Also:
PrePersist
-
POST_PERSIST
public static final AbstractEventSourceInterceptor.EventType POST_PERSIST
- See Also:
PostPersist
-
PRE_UPDATE
public static final AbstractEventSourceInterceptor.EventType PRE_UPDATE
- See Also:
PreUpdate
-
POST_UPDATE
public static final AbstractEventSourceInterceptor.EventType POST_UPDATE
- See Also:
PostUpdate
-
PRE_REMOVE
public static final AbstractEventSourceInterceptor.EventType PRE_REMOVE
- See Also:
PreRemove
-
POST_REMOVE
public static final AbstractEventSourceInterceptor.EventType POST_REMOVE
- See Also:
PostRemove
-
-
Method Detail
-
values
public static AbstractEventSourceInterceptor.EventType[] 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 (AbstractEventSourceInterceptor.EventType c : AbstractEventSourceInterceptor.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractEventSourceInterceptor.EventType 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
-
-