T
- The type of this property.public class PluginPropertyCacheKey<T> extends Object implements CacheKey
Type | Property and Description |
---|---|
boolean |
isApplication
Gets the value of the property applicationProperty.
|
Constructor and Description |
---|
PluginPropertyCacheKey(String symbolicName,
boolean applicationProperty,
boolean loadAllProperties)
Constructor.
|
PluginPropertyCacheKey(String symbolicName,
String propertyKey,
boolean isApplicationProperty)
Constructor.
|
PluginPropertyCacheKey(String symbolicName,
String propertyKey,
boolean isApplicationProperty,
Class<T> type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCacheKeyString()
String representation of the cache key which will be used for caching.
|
String |
getPropertyKey() |
String |
getSymbolicName() |
Class<T> |
getType() |
boolean |
isApplicationProperty()
Gets the value of the property applicationProperty.
|
boolean |
isLoadAllProperties() |
boolean |
isUniquePerClient()
Returns true if the cache key should be treated as client specific.
|
public boolean isApplicationProperty
public PluginPropertyCacheKey(String symbolicName, boolean applicationProperty, boolean loadAllProperties)
symbolicName
- The symbolic name.applicationProperty
- True, if all application properties should be loaded.loadAllProperties
- If set, all properties will be loaded and not just a single one.public PluginPropertyCacheKey(String symbolicName, String propertyKey, boolean isApplicationProperty)
symbolicName
- The symbolic name.propertyKey
- The properties key.isApplicationProperty
- True, if this is an application property.public PluginPropertyCacheKey(String symbolicName, String propertyKey, boolean isApplicationProperty, Class<T> type)
symbolicName
- The symbolic name.propertyKey
- The properties key.isApplicationProperty
- True, if this is an application property.type
- Class holding the propertys type.public String getCacheKeyString()
getCacheKeyString
in interface CacheKey
public String getPropertyKey()
public String getSymbolicName()
public boolean isApplicationProperty()
public boolean isLoadAllProperties()
public boolean isUniquePerClient()
isUniquePerClient
in interface CacheKey
Copyright © 2019 Communote team. All rights reserved.