|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.openanzo.jdbc.utils.opgen.ant.CompositionTask
public class CompositionTask
An ant task to reads in rdb statements (SQL, DDL, etc.) from files (as specified in the ant file) and composes Anzo SQL Files (i.e. DB2.sql) as well as generates java rdb statement wrapper files.
| Nested Class Summary | |
|---|---|
static class |
CompositionTask.PSTask
Provides file listings of prepared statements. |
| Constructor Summary | |
|---|---|
CompositionTask()
Create a new composition task |
|
| Method Summary | |
|---|---|
void |
addDDL(DDLTask ddlTask)
Add a ddl task to this task |
void |
addPreparedStatements(CompositionTask.PSTask ps)
Add a preparedStatement task to this task |
void |
execute()
|
java.lang.String |
getOutputFormat()
Set the output format for this task |
void |
setDestdir(java.io.File destinationFile)
Set the destination file |
void |
setOutputFormat(java.lang.String outputFormat)
Set the outputStream for this task |
| 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, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositionTask()
| Method Detail |
|---|
public void addDDL(DDLTask ddlTask)
ddlTask - to addpublic void addPreparedStatements(CompositionTask.PSTask ps)
ps - preparedStatement task to addpublic void setDestdir(java.io.File destinationFile)
destinationFile - to which this sql is written
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void setOutputFormat(java.lang.String outputFormat)
outputFormat - for this taskpublic java.lang.String getOutputFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||