org.apache.ivy.ant
Class IvyExtractFromSources

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

public class IvyExtractFromSources
extends IvyTask

Extracts imports from a set of java sources and generate corresponding ivy file


Nested Class Summary
static class IvyExtractFromSources.Ignore
           
 
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
IvyExtractFromSources()
           
 
Method Summary
 void addConfiguredIgnore(IvyExtractFromSources.Ignore ignore)
           
 void addConfiguredMapping(PackageMapping mapping)
           
 void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
           
 void doExecute()
          The real logic of task execution after project has been set in the context.
 java.lang.String getModule()
           
 java.lang.String getOrganisation()
           
 java.lang.String getRevision()
           
 java.lang.String getStatus()
           
 java.io.File getTo()
           
 void setModule(java.lang.String module)
           
 void setOrganisation(java.lang.String organisation)
           
 void setRevision(java.lang.String revision)
           
 void setStatus(java.lang.String status)
           
 void setTo(java.io.File to)
           
 
Methods inherited from class org.apache.ivy.ant.IvyTask
doValidate, ensureMessageInitialised, execute, finalizeTask, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, getSettingsRef, isValidate, mergeConfs, prepareTask, setResolved, setResolved, setSettingsRef, 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, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IvyExtractFromSources

public IvyExtractFromSources()
Method Detail

addConfiguredIgnore

public void addConfiguredIgnore(IvyExtractFromSources.Ignore ignore)

getTo

public java.io.File getTo()

setTo

public void setTo(java.io.File to)

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)

getStatus

public java.lang.String getStatus()

setStatus

public void setStatus(java.lang.String status)

addConfiguredMapping

public void addConfiguredMapping(PackageMapping mapping)

addFileSet

public void addFileSet(org.apache.tools.ant.types.FileSet fileSet)

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