|
||||||||||
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.Java
org.jpox.SchemaToolTask
public class SchemaToolTask
SchemaTool Ant Task. Accepts the following parameters
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.Java |
---|
redirector, redirectorElement |
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 | |
---|---|
SchemaToolTask()
Constructor. |
Method Summary | |
---|---|
void |
addFileSet(org.apache.tools.ant.types.FileSet fs)
Add a fileset. |
void |
execute()
Execute method, to execute the task. |
protected java.io.File[] |
getFiles()
|
void |
setDumpDdl(java.lang.String ddlFileName)
Set dumpddl to a file |
void |
setMode(java.lang.String mode)
Sets the mode of operation. |
void |
setProps(java.lang.String propsFileName)
Get properties for the PMF from a file |
void |
setTypes(java.lang.String userTypesFile)
set user types file |
void |
setVerbose(boolean verbose)
set verbose |
Methods inherited from class org.apache.tools.ant.taskdefs.Java |
---|
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, 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 |
Constructor Detail |
---|
public SchemaToolTask()
Method Detail |
---|
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.taskdefs.Java
org.apache.tools.ant.BuildException
- if any error happens while running the taskpublic void addFileSet(org.apache.tools.ant.types.FileSet fs)
fs
- the FileSetprotected java.io.File[] getFiles()
public void setVerbose(boolean verbose)
verbose
- Whether to give verbose outputpublic void setProps(java.lang.String propsFileName)
propsFileName
- Name of props filepublic void setDumpDdl(java.lang.String ddlFileName)
ddlFileName
- Name of DDL filepublic void setTypes(java.lang.String userTypesFile)
userTypesFile
- user types filenamepublic void setMode(java.lang.String mode)
mode
- The mode of operation ("create", "delete", "validate", "dbinfo", "schemainfo")
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |