Class Local
- java.lang.Object
- 
- org.apache.maven.buildcache.xml.config.Local
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class Local extends Object implements Serializable Class Local.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description Local()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocation()Get the base directory where the local cache is located.intgetMaxBuildsCached()Get maximum number of cached build per artifact in local cache.voidsetLocation(String location)Set the base directory where the local cache is located.voidsetMaxBuildsCached(int maxBuildsCached)Set maximum number of cached build per artifact in local cache.
 
- 
- 
- 
Method Detail- 
getLocationpublic String getLocation() Get the base directory where the local cache is located. Defaults to$\{localRepository}/../cache.- Returns:
- String
 
 - 
getMaxBuildsCachedpublic int getMaxBuildsCached() Get maximum number of cached build per artifact in local cache. First created cache (the oldest) is evicted if breached.- Returns:
- int
 
 - 
setLocationpublic void setLocation(String location) Set the base directory where the local cache is located. Defaults to$\{localRepository}/../cache.- Parameters:
- location- a location object.
 
 - 
setMaxBuildsCachedpublic void setMaxBuildsCached(int maxBuildsCached) Set maximum number of cached build per artifact in local cache. First created cache (the oldest) is evicted if breached.- Parameters:
- maxBuildsCached- a maxBuildsCached object.
 
 
- 
 
-