public static class CacheDescription.FileBased extends Object implements CacheDescription
CacheDescription.FileBased| Constructor and Description |
|---|
FileBased(File cacheDir,
String description,
Collection<ImmutablePlan> plans) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Cache entry description, including all information that is necessary to distinguish one dir from another
|
String |
getKey()
Unique for given
CacheHandler key that would be used to identify which cache the user wants to delete. |
String |
getLocation()
Cache directory location
|
Collection<ImmutablePlan> |
getUsingPlans()
Collection of Plans that are currently configured to use this cache.
|
boolean |
isExists()
Information whether the cache directory currently exists on the server.
|
public FileBased(File cacheDir, String description, Collection<ImmutablePlan> plans)
public String getKey()
CacheDescriptionCacheHandler key that would be used to identify which cache the user wants to delete.
This should be human readable as it will be displayed in the UI to indicate which caches were deleted.
getKey in interface CacheDescriptionCacheHandler.deleteCaches(Collection, com.opensymphony.xwork.ValidationAware)public String getLocation()
CacheDescriptiongetLocation in interface CacheDescriptionpublic String getDescription()
CacheDescriptiongetDescription in interface CacheDescriptionpublic boolean isExists()
CacheDescriptionisExists in interface CacheDescriptionpublic Collection<ImmutablePlan> getUsingPlans()
CacheDescriptiongetUsingPlans in interface CacheDescriptionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.