|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SxSource.CachePolicy>
com.xpn.xwiki.web.sx.SxSource.CachePolicy
public static enum SxSource.CachePolicy
Cache policies available for extensions.
| Enum Constant Summary | |
|---|---|
DEFAULT
Cache for the proxy/browser's default time, It will be held in the server cache an amount of time specified in AbstractSxAction. |
|
FORBID
Do not cache at all in server cache or in proxy/browser. |
|
LONG
Cache for a long time. |
|
SHORT
Cache for a short time. |
|
| Method Summary | |
|---|---|
static SxSource.CachePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SxSource.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SxSource.CachePolicy LONG
AbstractSxAction.LONG_CACHE_DURATIONpublic static final SxSource.CachePolicy SHORT
AbstractSxAction.SHORT_CACHE_DURATIONpublic static final SxSource.CachePolicy DEFAULT
AbstractSxAction#DEFAULT_CACHE_DURATIONpublic static final SxSource.CachePolicy FORBID
| Method Detail |
|---|
public static SxSource.CachePolicy[] values()
for (SxSource.CachePolicy c : SxSource.CachePolicy.values()) System.out.println(c);
public static SxSource.CachePolicy valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||