Serializable, Comparable<InterceptorType>public enum InterceptorType extends Enum<InterceptorType>
| Enum Constant | Description |
|---|---|
CACHE_PUT |
CachePut advice |
CACHE_REMOVE_ALL |
CacheRemoveAll advice |
CACHE_REMOVE_ENTRY |
CacheRemove advice |
CACHE_RESULT |
CacheResult advice |
| Modifier and Type | Method | Description |
|---|---|---|
static InterceptorType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static InterceptorType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterceptorType CACHE_RESULT
CacheResult advicepublic static final InterceptorType CACHE_PUT
CachePut advicepublic static final InterceptorType CACHE_REMOVE_ENTRY
CacheRemove advicepublic static final InterceptorType CACHE_REMOVE_ALL
CacheRemoveAll advicepublic static InterceptorType[] values()
for (InterceptorType c : InterceptorType.values()) System.out.println(c);
public static InterceptorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.