public static class FileSystemCache.Builder<K,V> extends org.kuali.common.core.build.ViolationsBuilder<FileSystemCache<K,V>>
Constructor and Description |
---|
FileSystemCache.Builder() |
Modifier and Type | Method and Description |
---|---|
FileSystemCache<K,V> |
build() |
FileSystemCache.Builder<K,V> |
fileCache(PersistentCache<File,V> fileCache) |
PersistentCache<File,V> |
getFileCache() |
com.google.common.base.Function<K,File> |
getKeyConverter() |
com.google.common.cache.CacheLoader<K,V> |
getLoader() |
FileSystemCache.Builder<K,V> |
ignoreFileSystem(boolean ignoreFileSystem) |
boolean |
isIgnoreFileSystem() |
FileSystemCache.Builder<K,V> |
keyConverter(com.google.common.base.Function<K,File> keyConverter) |
FileSystemCache.Builder<K,V> |
loader(com.google.common.cache.CacheLoader<K,V> loader) |
void |
setFileCache(PersistentCache<File,V> fileCache) |
void |
setIgnoreFileSystem(boolean ignoreFileSystem) |
void |
setKeyConverter(com.google.common.base.Function<K,File> keyConverter) |
void |
setLoader(com.google.common.cache.CacheLoader<K,V> loader) |
Set<javax.validation.ConstraintViolation<FileSystemCache<K,V>>> |
violations() |
public FileSystemCache.Builder()
public Set<javax.validation.ConstraintViolation<FileSystemCache<K,V>>> violations()
violations
in class org.kuali.common.core.build.ViolationsBuilder<FileSystemCache<K,V>>
public FileSystemCache<K,V> build()
public FileSystemCache.Builder<K,V> fileCache(PersistentCache<File,V> fileCache)
public FileSystemCache.Builder<K,V> keyConverter(com.google.common.base.Function<K,File> keyConverter)
public FileSystemCache.Builder<K,V> ignoreFileSystem(boolean ignoreFileSystem)
public PersistentCache<File,V> getFileCache()
public void setFileCache(PersistentCache<File,V> fileCache)
public com.google.common.base.Function<K,File> getKeyConverter()
public void setKeyConverter(com.google.common.base.Function<K,File> keyConverter)
public boolean isIgnoreFileSystem()
public void setIgnoreFileSystem(boolean ignoreFileSystem)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.