ca.quine.factorygen.builder
Class BuildFactoryTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.tools.ant.taskdefs.MatchingTask
                    |
                    +--ca.quine.factorygen.builder.BuildFactoryTask
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class BuildFactoryTask
extends org.apache.tools.ant.taskdefs.MatchingTask

Generates the source code for a Factory that extends ca.quine.factorygen.Registrar, or another class of the user's choosing (which extends ca.quine.factorygen.Registrar).


Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
BuildFactoryTask()
           
 
Method Summary
 void execute()
           
 void setDir(File dir)
           
 void setImportPackage(String importPackage)
           
 void setIRegistrantSubclass(String iRegistrantSubclass)
           
 void setOutputClass(String className)
           
 void setOutputDir(File outputDir)
           
 void setOutputPackage(String packageName)
           
 void setSuperClass(String superClass)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
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

BuildFactoryTask

public BuildFactoryTask()
Method Detail

setDir

public void setDir(File dir)

setOutputPackage

public void setOutputPackage(String packageName)

setOutputClass

public void setOutputClass(String className)

setOutputDir

public void setOutputDir(File outputDir)

setImportPackage

public void setImportPackage(String importPackage)

setIRegistrantSubclass

public void setIRegistrantSubclass(String iRegistrantSubclass)

setSuperClass

public void setSuperClass(String superClass)

execute

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