Package org.opencms.loader.imagecache
Enum Class CmsImageCacheCapabilities.Capability
java.lang.Object
java.lang.Enum<CmsImageCacheCapabilities.Capability>
org.opencms.loader.imagecache.CmsImageCacheCapabilities.Capability
- All Implemented Interfaces:
Serializable,Comparable<CmsImageCacheCapabilities.Capability>,Constable
- Enclosing class:
CmsImageCacheCapabilities
public static enum CmsImageCacheCapabilities.Capability
extends Enum<CmsImageCacheCapabilities.Capability>
Individual backend capabilities.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe complete cache can be cleared.Individual entries can be deleted.Listed entries contain a last-modified timestamp.All cache entries can be listed.Individual entries can be renewed without regenerating their content. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CmsImageCacheCapabilities.Capability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIST_ENTRIES
All cache entries can be listed. -
ENTRY_TIMESTAMPS
Listed entries contain a last-modified timestamp. -
DELETE_ENTRIES
Individual entries can be deleted. -
CLEAR
The complete cache can be cleared. -
RENEW_ENTRIES
Individual entries can be renewed without regenerating their content.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-