Class IvyResolve

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyResolve
All Implemented Interfaces:
Cloneable

public class IvyResolve extends IvyTask
This task allow to call the Ivy dependency resolution from ant.
  • Constructor Details

    • IvyResolve

      public IvyResolve()
  • Method Details

    • isUseOrigin

      public boolean isUseOrigin()
    • setUseOrigin

      public void setUseOrigin(boolean useOrigin)
    • getDate

      public String getDate()
    • setDate

      public void setDate(String pubdate)
    • getRevision

      public String getRevision()
    • setRevision

      public void setRevision(String revision)
    • getBranch

      public String getBranch()
    • setBranch

      public void setBranch(String branch)
    • setCache

      public void setCache(File cache)
    • getConf

      public String getConf()
    • setConf

      public void setConf(String conf)
    • getFile

      public File getFile()
    • setFile

      public void setFile(File file)
    • isHaltonfailure

      public boolean isHaltonfailure()
    • setHaltonfailure

      public void setHaltonfailure(boolean haltOnFailure)
    • setShowprogress

      public void setShowprogress(boolean show)
    • isUseCacheOnly

      public boolean isUseCacheOnly()
    • setUseCacheOnly

      public void setUseCacheOnly(boolean useCacheOnly)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • isRefresh

      public boolean isRefresh()
    • setRefresh

      public void setRefresh(boolean refresh)
    • getLog

      public String getLog()
    • setLog

      public void setLog(String log)
    • setFailurePropery

      @Deprecated public void setFailurePropery(String failureProperty)
      Deprecated.
      Parameters:
      failureProperty - String
    • setFailureProperty

      public void setFailureProperty(String failureProperty)
    • getFailureProperty

      public String getFailureProperty()
    • createDependency

      public IvyDependency createDependency()
    • createExclude

      public IvyExclude createExclude()
    • createConflict

      public IvyConflict createConflict()
    • prepareTask

      protected void prepareTask()
      Description copied from class: IvyTask
      Called when task starts its execution.
      Overrides:
      prepareTask in class IvyTask
    • doExecute

      public void doExecute() throws org.apache.tools.ant.BuildException
      Description copied from class: IvyTask
      The real logic of task execution after project has been set in the context. MUST be implemented by subclasses
      Specified by:
      doExecute in class IvyTask
      Throws:
      org.apache.tools.ant.BuildException - if something goes wrong
    • getAllowedLogOptions

      protected Collection<String> getAllowedLogOptions()
    • getModule

      public String getModule()
    • setModule

      public void setModule(String module)
    • getOrganisation

      public String getOrganisation()
    • setOrganisation

      public void setOrganisation(String organisation)
    • isTransitive

      public boolean isTransitive()
    • setTransitive

      public void setTransitive(boolean transitive)
    • isChanging

      public boolean isChanging()
    • setChanging

      public void setChanging(boolean changing)
    • isKeep

      public boolean isKeep()
    • setKeep

      public void setKeep(boolean keep)
    • isInline

      public boolean isInline()
    • setInline

      public void setInline(boolean inline)
    • getResolveId

      public String getResolveId()
    • setResolveId

      public void setResolveId(String resolveId)
    • getResolveMode

      public String getResolveMode()
    • setResolveMode

      public void setResolveMode(String resolveMode)
    • getCheckIfChanged

      public boolean getCheckIfChanged()
    • setCheckIfChanged

      public void setCheckIfChanged(boolean checkIfChanged)