|
|||||||||
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.ojb.broker.platforms.DBHandlingTask
Ant task for performing basic db setup functions.
Field Summary |
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 | |
DBHandlingTask()
|
Method Summary | |
void |
addFileset(org.apache.tools.ant.types.FileSet fileset)
Adds a fileset. |
void |
execute()
|
java.lang.String |
getCommands()
Returns the list of commands. |
java.lang.String |
getHandling()
Returns the name of the handling that is used. |
java.lang.String |
getJcdAlias()
Returns the alias of the jdbc connection. |
java.lang.String |
getPropertiesFile()
Returns the properties file. |
java.lang.String |
getWorkDir()
Returns the working directory. |
void |
setCommands(java.lang.String listOfCommands)
Sets the list of commands to perform. |
void |
setHandling(java.lang.String name)
Sets the name of the handling to use. |
void |
setJcdAlias(java.lang.String alias)
Sets the alias of the jdbc connection to use. |
void |
setPropertiesFile(java.lang.String path)
Sets the properties file (OJB.properties). |
void |
setWorkDir(java.lang.String dir)
Sets the working directory. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 DBHandlingTask()
Method Detail |
public void setHandling(java.lang.String name)
name
- The short name of the handlingpublic java.lang.String getHandling()
public void setPropertiesFile(java.lang.String path)
path
- The path to the properties filepublic java.lang.String getPropertiesFile()
public void setJcdAlias(java.lang.String alias)
alias
- The alias of the connectionpublic java.lang.String getJcdAlias()
public void setWorkDir(java.lang.String dir)
dir
- The working directorypublic java.lang.String getWorkDir()
public void addFileset(org.apache.tools.ant.types.FileSet fileset)
fileset
- The additional input filespublic void setCommands(java.lang.String listOfCommands)
listOfCommands
- The comma-separated list of commandspublic java.lang.String getCommands()
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |