Package org.apache.ivy.ant
Class IvyInfo
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.ivy.ant.IvyTask
-
- org.apache.ivy.ant.IvyInfo
-
- All Implemented Interfaces:
java.lang.Cloneable
public class IvyInfo extends IvyTask
Parses information about an ivy file and make them available in ant.
-
-
Field Summary
-
Fields inherited from class org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
-
-
Constructor Summary
Constructors Constructor Description IvyInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute()The real logic of task execution after project has been set in the context.java.lang.StringgetBranch()java.io.FilegetFile()java.lang.StringgetModule()java.lang.StringgetOrganisation()java.lang.StringgetProperty()java.lang.StringgetRevision()voidsetBranch(java.lang.String branch)voidsetFile(java.io.File file)voidsetModule(java.lang.String module)voidsetOrganisation(java.lang.String organisation)voidsetProperty(java.lang.String prefix)voidsetRevision(java.lang.String revision)-
Methods inherited from class org.apache.ivy.ant.IvyTask
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, toString
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
getFile
public java.io.File getFile()
-
setFile
public void setFile(java.io.File file)
-
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)
-
getRevision
public java.lang.String getRevision()
-
setRevision
public void setRevision(java.lang.String revision)
-
getBranch
public java.lang.String getBranch()
-
setBranch
public void setBranch(java.lang.String branch)
-
getProperty
public java.lang.String getProperty()
-
setProperty
public void setProperty(java.lang.String prefix)
-
doExecute
public void doExecute() throws org.apache.tools.ant.BuildExceptionDescription copied from class:IvyTaskThe real logic of task execution after project has been set in the context. MUST be implemented by subclasses
-
-