public class IvyCleanCache extends IvyTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL |
static java.lang.String |
NONE |
ANT_PROJECT_CONTEXT_KEY| Constructor and Description |
|---|
IvyCleanCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute()
The real logic of task execution after project has been set in the context.
|
java.lang.String |
getCache() |
boolean |
isResolution() |
void |
setCache(java.lang.String cache)
Sets the name of the repository cache to clean, '*' for all caches, 'NONE' for no repository
cache cleaning at all.
|
void |
setResolution(boolean resolution)
Sets weither the resolution cache should be cleaned or not.
|
cacheAttributeNotSupported, doValidate, execute, finalizeTask, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, getSettingsRef, isValidate, mergeConfs, prepareTask, setResolved, setResolved, setSettingsRef, setValidate, splitConfs, toStringbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic static final java.lang.String ALL
public static final java.lang.String NONE
public java.lang.String getCache()
public void setCache(java.lang.String cache)
cache - the name of the cache to clean. Must not be null.public boolean isResolution()
public void setResolution(boolean resolution)
resolution - true if the resolution cache should be cleaned, false
otherwise.public void doExecute()
throws org.apache.tools.ant.BuildException
IvyTask