|
||||||||||
| 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.util.dbhandling.DBHandlingTask
public class 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()
|
String |
getCommands()
Returns the list of commands. |
String |
getHandling()
Returns the name of the handling that is used. |
String |
getJcdAlias()
Returns the alias of the jdbc connection. |
String |
getPropertiesFile()
Returns the properties file. |
String |
getWorkDir()
Returns the working directory. |
void |
setCommands(String listOfCommands)
Sets the list of commands to perform. |
void |
setHandling(String name)
Sets the name of the handling to use. |
void |
setJcdAlias(String alias)
Sets the alias of the jdbc connection to use. |
void |
setPropertiesFile(String path)
Sets the properties file (OJB.properties). |
void |
setWorkDir(String dir)
Sets the working directory. |
| 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 |
| Constructor Detail |
|---|
public DBHandlingTask()
| Method Detail |
|---|
public void setHandling(String name)
name - The short name of the handlingpublic String getHandling()
public void setPropertiesFile(String path)
path - The path to the properties filepublic String getPropertiesFile()
public void setJcdAlias(String alias)
alias - The alias of the connectionpublic String getJcdAlias()
public void setWorkDir(String dir)
dir - The working directorypublic String getWorkDir()
public void addFileset(org.apache.tools.ant.types.FileSet fileset)
fileset - The additional input filespublic void setCommands(String listOfCommands)
listOfCommands - The comma-separated list of commandspublic String getCommands()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||