org.apache.ivy.ant
Class IvyPostResolveTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyPostResolveTask
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- IvyArtifactProperty, IvyArtifactReport, IvyCacheTask, IvyRetrieve
public abstract class IvyPostResolveTask
- extends IvyTask
Base class for tasks needing to be performed after a resolve.
- Author:
- Xavier Hanin
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Method Summary |
protected IvyResolve |
createResolve(boolean haltOnFailure,
boolean useOrigin)
|
protected void |
ensureResolved(boolean haltOnFailure,
boolean useOrigin,
boolean transitive,
java.lang.String org,
java.lang.String module,
java.lang.String conf,
java.lang.String resolveId,
java.io.File cache)
|
Filter |
getArtifactFilter()
|
java.io.File |
getCache()
|
java.lang.String |
getConf()
|
protected java.lang.String[] |
getConfsToResolve(java.lang.String resolveId,
java.lang.String conf)
|
protected java.lang.String[] |
getConfsToResolve(java.lang.String org,
java.lang.String module,
java.lang.String conf,
boolean strict)
|
java.io.File |
getFile()
|
java.lang.String |
getModule()
|
java.lang.String |
getOrganisation()
|
protected ModuleId |
getResolvedModuleId()
|
protected ModuleRevisionId |
getResolvedMrid()
|
protected ResolveReport |
getResolvedReport()
|
java.lang.String |
getResolveId()
|
java.lang.String |
getRevision()
|
java.lang.String |
getType()
|
boolean |
isHaltonfailure()
|
boolean |
isInline()
|
boolean |
isTransitive()
|
boolean |
isUseOrigin()
|
protected void |
prepareAndCheck()
|
void |
setCache(java.io.File cache)
|
void |
setConf(java.lang.String conf)
|
void |
setFile(java.io.File file)
|
void |
setHaltonfailure(boolean haltOnFailure)
|
void |
setInline(boolean inline)
|
void |
setModule(java.lang.String module)
|
void |
setOrganisation(java.lang.String organisation)
|
void |
setResolveId(java.lang.String resolveId)
|
void |
setRevision(java.lang.String rev)
|
void |
setTransitive(boolean transitive)
|
void |
setType(java.lang.String type)
|
void |
setUseOrigin(boolean useOrigin)
|
Methods inherited from class org.apache.ivy.ant.IvyTask |
doValidate, ensureMessageInitialised, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, isValidate, mergeConfs, setIvyInstance, setProject, setResolved, setResolved, setValidate, splitConfs |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IvyPostResolveTask
public IvyPostResolveTask()
isUseOrigin
public boolean isUseOrigin()
setUseOrigin
public void setUseOrigin(boolean useOrigin)
prepareAndCheck
protected void prepareAndCheck()
ensureResolved
protected void ensureResolved(boolean haltOnFailure,
boolean useOrigin,
boolean transitive,
java.lang.String org,
java.lang.String module,
java.lang.String conf,
java.lang.String resolveId,
java.io.File cache)
getConfsToResolve
protected java.lang.String[] getConfsToResolve(java.lang.String org,
java.lang.String module,
java.lang.String conf,
boolean strict)
getConfsToResolve
protected java.lang.String[] getConfsToResolve(java.lang.String resolveId,
java.lang.String conf)
createResolve
protected IvyResolve createResolve(boolean haltOnFailure,
boolean useOrigin)
getResolvedMrid
protected ModuleRevisionId getResolvedMrid()
getResolvedModuleId
protected ModuleId getResolvedModuleId()
getResolvedReport
protected ResolveReport getResolvedReport()
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getConf
public java.lang.String getConf()
setConf
public void setConf(java.lang.String conf)
getModule
public java.lang.String getModule()
setModule
public void setModule(java.lang.String module)
getOrganisation
public java.lang.String getOrganisation()
setOrganisation
public void setOrganisation(java.lang.String organisation)
isHaltonfailure
public boolean isHaltonfailure()
setHaltonfailure
public void setHaltonfailure(boolean haltOnFailure)
getCache
public java.io.File getCache()
setCache
public void setCache(java.io.File cache)
getRevision
public java.lang.String getRevision()
setRevision
public void setRevision(java.lang.String rev)
getArtifactFilter
public Filter getArtifactFilter()
isTransitive
public boolean isTransitive()
setTransitive
public void setTransitive(boolean transitive)
isInline
public boolean isInline()
setInline
public void setInline(boolean inline)
setResolveId
public void setResolveId(java.lang.String resolveId)
getResolveId
public java.lang.String getResolveId()
setFile
public void setFile(java.io.File file)
getFile
public java.io.File getFile()