public enum AttributeCachingStrategy extends Enum<AttributeCachingStrategy>
Modifier and Type | Method and Description |
---|---|
static AttributeCachingStrategy |
guessCachingStrategy(AttributeSpec<?> spec)
Guessing if the value is cacheable based on the value format.
|
static AttributeCachingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeCachingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeCachingStrategy SHOULD
public static final AttributeCachingStrategy MAY
public static final AttributeCachingStrategy MUST_NOT
public static AttributeCachingStrategy[] values()
for (AttributeCachingStrategy c : AttributeCachingStrategy.values()) System.out.println(c);
public static AttributeCachingStrategy 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 nullpublic static AttributeCachingStrategy guessCachingStrategy(AttributeSpec<?> spec)
Copyright © 2019 ALM Works. All Rights Reserved.