public abstract static class CacheOperation.Builder
extends java.lang.Object
CacheOperation
.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheManager |
private java.util.Set<java.lang.String> |
cacheNames |
private java.lang.String |
cacheResolver |
private java.lang.String |
condition |
private java.lang.String |
key |
private java.lang.String |
keyGenerator |
private java.lang.String |
name |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract CacheOperation |
build() |
java.lang.String |
getCacheManager() |
java.util.Set<java.lang.String> |
getCacheNames() |
java.lang.String |
getCacheResolver() |
java.lang.String |
getKey() |
java.lang.String |
getKeyGenerator() |
protected java.lang.StringBuilder |
getOperationDescription()
Return an identifying description for this caching operation.
|
void |
setCacheManager(java.lang.String cacheManager) |
void |
setCacheName(java.lang.String cacheName) |
void |
setCacheNames(java.lang.String... cacheNames) |
void |
setCacheResolver(java.lang.String cacheResolver) |
void |
setCondition(java.lang.String condition) |
void |
setKey(java.lang.String key) |
void |
setKeyGenerator(java.lang.String keyGenerator) |
void |
setName(java.lang.String name) |
private java.lang.String name
private java.util.Set<java.lang.String> cacheNames
private java.lang.String key
private java.lang.String keyGenerator
private java.lang.String cacheManager
private java.lang.String cacheResolver
private java.lang.String condition
public void setName(java.lang.String name)
public void setCacheName(java.lang.String cacheName)
public void setCacheNames(java.lang.String... cacheNames)
public java.util.Set<java.lang.String> getCacheNames()
public void setKey(java.lang.String key)
public java.lang.String getKey()
public java.lang.String getKeyGenerator()
public java.lang.String getCacheManager()
public java.lang.String getCacheResolver()
public void setKeyGenerator(java.lang.String keyGenerator)
public void setCacheManager(java.lang.String cacheManager)
public void setCacheResolver(java.lang.String cacheResolver)
public void setCondition(java.lang.String condition)
protected java.lang.StringBuilder getOperationDescription()
Available to subclasses, for inclusion in their toString()
result.
public abstract CacheOperation build()