Package org.ametys.core.util
Class Cacheable.SingleCacheConfiguration
- java.lang.Object
-
- org.ametys.core.util.Cacheable.SingleCacheConfiguration
-
- Enclosing interface:
- Cacheable
public static final class Cacheable.SingleCacheConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private I18nizableText
_description
private String
_id
private I18nizableText
_label
-
Constructor Summary
Constructors Modifier Constructor Description private
SingleCacheConfiguration(String id, I18nizableText label, I18nizableText description)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Cacheable.SingleCacheConfiguration
of(String id, I18nizableText label, I18nizableText description)
Builds aCacheable.SingleCacheConfiguration
-
-
-
Field Detail
-
_label
private I18nizableText _label
-
_description
private I18nizableText _description
-
-
Constructor Detail
-
SingleCacheConfiguration
private SingleCacheConfiguration(String id, I18nizableText label, I18nizableText description)
-
-
Method Detail
-
of
public static Cacheable.SingleCacheConfiguration of(String id, I18nizableText label, I18nizableText description)
Builds aCacheable.SingleCacheConfiguration
- Parameters:
id
- The id of the cachelabel
- The label of the cachedescription
- The description of the cache- Returns:
- A
Cacheable.SingleCacheConfiguration
-
-