org.jcoderz.phoenix.sqlparser
Class SqlTransformerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.jcoderz.phoenix.sqlparser.SqlTransformerTask
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

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

Ant task for the SQL Transformer.

Author:
Michael Griffel

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
SqlTransformerTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds the given files to the file set.
 void execute()
          Execute this task.
 void setFailonerror(boolean b)
          Set whether we should fail on an error.
 void setForce(boolean b)
          Sets the force output of target files flag to the given value.
 void setMetainf(File f)
          Specifies the MetaInf file (optional parameter).
 void setTodir(File d)
          Specifies the output directory.
 
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

SqlTransformerTask

public SqlTransformerTask()
Method Detail

setTodir

public void setTodir(File d)
Specifies the output directory.

Parameters:
d - the output directory.

setFailonerror

public void setFailonerror(boolean b)
Set whether we should fail on an error.

Parameters:
b - Whether we should fail on an error.

setForce

public void setForce(boolean b)
Sets the force output of target files flag to the given value.

Parameters:
b - Whether we should force the generation of output files.

setMetainf

public void setMetainf(File f)
Specifies the MetaInf file (optional parameter).

Parameters:
f - the MetaInf file.

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds the given files to the file set.

Parameters:
set - the file set to add.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute this task.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - An building exception occurred.


Copyright 2007 The jCoderZ Project.