|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.torque.task.TorqueSQLTransformTask
public class TorqueSQLTransformTask
An ant task for creating an xml schema from an sql schema
Field Summary | |
---|---|
private String |
inputFile
SQL input file. |
private String |
outputFile
XML descriptor output file. |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
TorqueSQLTransformTask()
|
Method Summary | |
---|---|
void |
execute()
Execute the task. |
String |
getInputFile()
Get the current input file |
String |
getOutputFile()
Get the current output file. |
void |
setInputFile(String v)
Set the sql input file. |
void |
setOutputFile(String v)
Set the current output file. |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String inputFile
private String outputFile
Constructor Detail |
---|
public TorqueSQLTransformTask()
Method Detail |
---|
public String getInputFile()
public void setInputFile(String v)
v
- the input filepublic String getOutputFile()
public void setOutputFile(String v)
v
- the output filepublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- Any exceptions caught during procssing will be
rethrown wrapped into a BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |