Package org.ametys.runtime.cocoon
Enum ThreadSafeTraxProcessor.CacheValidity
- java.lang.Object
-
- java.lang.Enum<ThreadSafeTraxProcessor.CacheValidity>
-
- org.ametys.runtime.cocoon.ThreadSafeTraxProcessor.CacheValidity
-
- All Implemented Interfaces:
Serializable
,Comparable<ThreadSafeTraxProcessor.CacheValidity>
- Enclosing class:
- ThreadSafeTraxProcessor
public static enum ThreadSafeTraxProcessor.CacheValidity extends Enum<ThreadSafeTraxProcessor.CacheValidity>
The validity of the current stylesheet.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHED
The current stylesheet is in cache and validNON_CACHED
The current stylesheet is not cachedOUT_OF_DATE
The current styleseet is in cache but not valid anymore
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThreadSafeTraxProcessor.CacheValidity
valueOf(String name)
Returns the enum constant of this type with the specified name.static ThreadSafeTraxProcessor.CacheValidity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHED
public static final ThreadSafeTraxProcessor.CacheValidity CACHED
The current stylesheet is in cache and valid
-
OUT_OF_DATE
public static final ThreadSafeTraxProcessor.CacheValidity OUT_OF_DATE
The current styleseet is in cache but not valid anymore
-
NON_CACHED
public static final ThreadSafeTraxProcessor.CacheValidity NON_CACHED
The current stylesheet is not cached
-
-
Method Detail
-
values
public static ThreadSafeTraxProcessor.CacheValidity[] 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 (ThreadSafeTraxProcessor.CacheValidity c : ThreadSafeTraxProcessor.CacheValidity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreadSafeTraxProcessor.CacheValidity valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-