org.openanzo.jdbc.utils.opgen.ant
Class DDLTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.openanzo.jdbc.utils.opgen.ant.DDLTask

public class DDLTask
extends org.apache.tools.ant.Task

Provides file listings and procedure names of DDL.

Author:
Joe Betz

Constructor Summary
DDLTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet fileSet)
          Add set of files to task
 void execute()
           
 java.util.List<org.apache.tools.ant.types.FileSet> getFiles()
          Get the set of files to process
 java.lang.String[] getParams()
          Get the template parameters for this statement
 java.lang.String getProcedure()
          Get the name of the procedure
 void setA(java.lang.String paramA)
          Set the A parameter
 void setB(java.lang.String paramB)
          Set the B parameter
 void setC(java.lang.String paramC)
          Set the C parameter
 void setD(java.lang.String paramD)
          Set the D parameter
 void setE(java.lang.String paramE)
          Set the E parameter
 void setF(java.lang.String paramF)
          Set the F parameter
 void setProcedure(java.lang.String procedure)
          Set the name of the procedure
 void write(java.io.OutputStreamWriter writer, java.lang.String outputFormat)
          Write the DDL output to a file
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLTask

public DDLTask()
Method Detail

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet fileSet)
Add set of files to task

Parameters:
fileSet - set of files to process

getFiles

public java.util.List<org.apache.tools.ant.types.FileSet> getFiles()
Get the set of files to process

Returns:
the set of files to process

getProcedure

public java.lang.String getProcedure()
Get the name of the procedure

Returns:
the name of the procedure

setProcedure

public void setProcedure(java.lang.String procedure)
Set the name of the procedure

Parameters:
procedure - the name of the procedure

setA

public void setA(java.lang.String paramA)
Set the A parameter

Parameters:
paramA - the A parameter

setB

public void setB(java.lang.String paramB)
Set the B parameter

Parameters:
paramB - the B parameter

setC

public void setC(java.lang.String paramC)
Set the C parameter

Parameters:
paramC - the C parameter

setD

public void setD(java.lang.String paramD)
Set the D parameter

Parameters:
paramD - the D parameter

setE

public void setE(java.lang.String paramE)
Set the E parameter

Parameters:
paramE - the E parameter

setF

public void setF(java.lang.String paramF)
Set the F parameter

Parameters:
paramF - the A parameter

getParams

public java.lang.String[] getParams()
Get the template parameters for this statement

Returns:
the template parameters for this statement

execute

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

write

public void write(java.io.OutputStreamWriter writer,
                  java.lang.String outputFormat)
           throws java.io.IOException,
                  java.io.FileNotFoundException
Write the DDL output to a file

Parameters:
writer - output writer for task
outputFormat - format to write
Throws:
java.io.IOException
java.io.FileNotFoundException


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.