public static enum PageElementCachePolicy.PolicyResult extends Enum<PageElementCachePolicy.PolicyResult>
Enum Constant and Description |
---|
KEEP
The corresponding cache entry should be kept.
|
NEED_MORE_INFORMATION
The processing could go deeper in the data to know more precisely what to do with the cache entry.
|
REMOVE
The corresponding cache entry should be removed.
|
Modifier and Type | Method and Description |
---|---|
static PageElementCachePolicy.PolicyResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageElementCachePolicy.PolicyResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageElementCachePolicy.PolicyResult REMOVE
public static final PageElementCachePolicy.PolicyResult KEEP
public static final PageElementCachePolicy.PolicyResult NEED_MORE_INFORMATION
public static PageElementCachePolicy.PolicyResult[] values()
for (PageElementCachePolicy.PolicyResult c : PageElementCachePolicy.PolicyResult.values()) System.out.println(c);
public static PageElementCachePolicy.PolicyResult 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 null