Package org.opencms.loader.imagecache
Class CmsImageCacheCapabilities
java.lang.Object
org.opencms.loader.imagecache.CmsImageCacheCapabilities
Describes the maintenance operations supported by an image cache backend.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndividual backend capabilities. -
Method Summary
Modifier and TypeMethodDescriptionasSet()Returns the supported capabilities.static CmsImageCacheCapabilitiesof(CmsImageCacheCapabilities.Capability... capabilities) Creates a capability set.booleansupports(CmsImageCacheCapabilities.Capability capability) Checks whether a capability is supported.
-
Method Details
-
of
Creates a capability set.- Parameters:
capabilities- the supported capabilities- Returns:
- the capability set
-
asSet
Returns the supported capabilities.- Returns:
- the supported capabilities
-
supports
Checks whether a capability is supported.- Parameters:
capability- the capability- Returns:
- whether the capability is supported
-