org.apache.ivy.ant
Class IvyListModules

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.IvyListModules
All Implemented Interfaces:
java.lang.Cloneable

public class IvyListModules
extends IvyTask

Look for modules in the repository matching the given criteria, and sets a set of properties according to what was found.


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
IvyListModules()
           
 
Method Summary
 void doExecute()
          The real logic of task execution after project has been set in the context.
 java.lang.String getBranch()
           
 java.lang.String getMatcher()
           
 java.lang.String getModule()
           
 java.lang.String getOrganisation()
           
 java.lang.String getProperty()
           
 java.lang.String getRevision()
           
 java.lang.String getValue()
           
 void setBranch(java.lang.String branch)
           
 void setMatcher(java.lang.String matcher)
           
 void setModule(java.lang.String module)
           
 void setOrganisation(java.lang.String organisation)
           
 void setProperty(java.lang.String name)
           
 void setRevision(java.lang.String revision)
           
 void setValue(java.lang.String value)
           
 
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
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IvyListModules

public IvyListModules()
Method Detail

getMatcher

public java.lang.String getMatcher()

setMatcher

public void setMatcher(java.lang.String matcher)

getModule

public java.lang.String getModule()

setModule

public void setModule(java.lang.String module)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String name)

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)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getBranch

public java.lang.String getBranch()

setBranch

public void setBranch(java.lang.String branch)

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