Package com.atlassian.bamboo.repository
Interface CacheDescription
-
- All Known Implementing Classes:
CacheDescription.FileBased
public interface CacheDescriptionCache description bean used to display info about the single cache entry
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCacheDescription.FileBasedDefault file based implementation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Cache entry description, including all information that is necessary to distinguish one dir from anotherStringgetKey()Unique for givenCacheHandlerkey that would be used to identify which cache the user wants to delete.StringgetLocation()Cache directory locationCollection<ImmutablePlan>getUsingPlans()Collection of Plans that are currently configured to use this cache.booleanisExists()Information whether the cache directory currently exists on the server.
-
-
-
Method Detail
-
getKey
String getKey()
Unique for givenCacheHandlerkey 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.
- Returns:
- unique key identifying the cache directory
- See Also:
CacheHandler.deleteCaches(Collection, com.opensymphony.xwork.ValidationAware)
-
getLocation
String getLocation()
Cache directory location- Returns:
- cache location as user readable string
-
getDescription
String getDescription()
Cache entry description, including all information that is necessary to distinguish one dir from another- Returns:
- cache entry description
-
isExists
boolean isExists()
Information whether the cache directory currently exists on the server.- Returns:
- true when directory exists
-
getUsingPlans
Collection<ImmutablePlan> getUsingPlans()
Collection of Plans that are currently configured to use this cache.- Returns:
- collection of Plans that are currently configured to use this cache
-
-