org.apache.ivy.ant
Class IvyInstall

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

public class IvyInstall
extends IvyTask

Allow to install a module or a set of module from repository to another one.

Author:
Xavier Hanin

Field Summary
 
Fields inherited from class org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
 
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
 
Constructor Summary
IvyInstall()
           
 
Method Summary
 void execute()
           
 java.io.File getCache()
           
 java.lang.String getFrom()
           
 java.lang.String getMatcher()
           
 java.lang.String getModule()
           
 java.lang.String getOrganisation()
           
 java.lang.String getRevision()
           
 java.lang.String getTo()
           
 java.lang.String getType()
           
 boolean isOverwrite()
           
 boolean isTransitive()
           
 void setCache(java.io.File cache)
           
 void setFrom(java.lang.String from)
           
 void setMatcher(java.lang.String matcher)
           
 void setModule(java.lang.String module)
           
 void setOrganisation(java.lang.String organisation)
           
 void setOverwrite(boolean overwrite)
           
 void setRevision(java.lang.String revision)
           
 void setTo(java.lang.String to)
           
 void setTransitive(boolean transitive)
           
 void setType(java.lang.String type)
           
 
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, 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
 

Constructor Detail

IvyInstall

public IvyInstall()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

getCache

public java.io.File getCache()

setCache

public void setCache(java.io.File cache)

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)

isOverwrite

public boolean isOverwrite()

setOverwrite

public void setOverwrite(boolean overwrite)

getFrom

public java.lang.String getFrom()

setFrom

public void setFrom(java.lang.String from)

getTo

public java.lang.String getTo()

setTo

public void setTo(java.lang.String to)

isTransitive

public boolean isTransitive()

setTransitive

public void setTransitive(boolean transitive)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getMatcher

public java.lang.String getMatcher()

setMatcher

public void setMatcher(java.lang.String matcher)