| org.apache.ivy.ant.IvyTask
All known Subclasses: org.apache.ivy.ant.IvyCheck, org.apache.ivy.ant.IvyListModules, org.apache.ivy.ant.IvyCleanCache, org.apache.ivy.ant.IvyPublish, org.apache.ivy.ant.IvyInstall, org.apache.ivy.ant.IvyDeliver, org.apache.ivy.ant.IvyFindRevision, org.apache.ivy.ant.IvyResolve, org.apache.ivy.ant.IvyInfo, org.apache.ivy.ant.IvyVar, org.apache.ivy.ant.IvyBuildList, org.apache.ivy.ant.IvyPostResolveTask, org.apache.ivy.ant.IvyMakePom, org.apache.ivy.ant.IvyReport, org.apache.ivy.ant.IvyBuildNumber, org.apache.ivy.ant.IvyConvertPom, org.apache.ivy.ant.IvyRepositoryReport,
IvyTask | abstract public class IvyTask extends Task (Code) | | Base class for all ivy ant tasks, deal particularly with ivy instance storage in ant project.
|
Method Summary | |
protected void | cacheAttributeNotSupported() Informs the user that the cache attribute is not supported any more. | abstract public void | doExecute() The real logic of task execution after project has been set in the context. | protected boolean | doValidate(IvySettings ivy) | final public void | execute() Ant task execute. | protected void | finalizeTask() | protected Ivy | getIvyInstance() | protected String | getProperty(String value, IvySettings ivy, String name) | protected String | getProperty(String value, IvySettings ivy, String name, String resolveId) | protected String | getProperty(IvySettings ivy, String name, String resolveId) | protected String | getProperty(IvySettings ivy, String name) | protected Date | getPubDate(String date, Date def) | protected String[] | getResolvedConfigurations(String org, String module, boolean strict) | protected Object | getResolvedDescriptor(String resolveId) | protected Object | getResolvedDescriptor(String resolveId, boolean strict) | protected Object | getResolvedDescriptor(String org, String module) | protected Object | getResolvedDescriptor(String org, String module, boolean strict) | protected ResolveReport | getResolvedReport(String org, String module, String resolveId) | protected IvySettings | getSettings() | public Reference | getSettingsRef() | public boolean | isValidate() | protected String | mergeConfs(String[] conf) | protected void | prepareTask() Called when task starts its execution. | protected void | setResolved(ResolveReport report, boolean keep) | protected void | setResolved(ResolveReport report, String resolveId, boolean keep) | public void | setSettingsRef(Reference ref) | public void | setValidate(boolean validate) | protected String[] | splitConfs(String conf) | public String | toString() |
ANT_PROJECT_CONTEXT_KEY | final public static String ANT_PROJECT_CONTEXT_KEY(Code) | | |
cacheAttributeNotSupported | protected void cacheAttributeNotSupported()(Code) | | Informs the user that the cache attribute is not supported any more.
|
doExecute | abstract public void doExecute() throws BuildException(Code) | | The real logic of task execution after project has been set in the context. MUST be
implemented by subclasses
throws: BuildException - |
execute | final public void execute() throws BuildException(Code) | | Ant task execute. Calls prepareTask, doExecute, finalzeTask
|
finalizeTask | protected void finalizeTask()(Code) | | Called when task is about to finish Should clean up all state related information (stacks for
example)
|
getIvyInstance | protected Ivy getIvyInstance()(Code) | | |
getResolvedDescriptor | protected Object getResolvedDescriptor(String resolveId, boolean strict)(Code) | | |
getSettingsRef | public Reference getSettingsRef()(Code) | | |
isValidate | public boolean isValidate()(Code) | | |
prepareTask | protected void prepareTask()(Code) | | Called when task starts its execution.
|
setSettingsRef | public void setSettingsRef(Reference ref)(Code) | | |
setValidate | public void setValidate(boolean validate)(Code) | | |
|
|