|
|||||||||
| 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.intermine.task.BuildDbTask
public class BuildDbTask
Generates and inserts SQL given database name, schema and temporary directory
| Field Summary | |
|---|---|
protected Database |
database
|
protected java.lang.String |
databaseAlias
|
protected java.lang.String |
schemaFile
|
protected static java.lang.String |
SERIAL_SEQUENCE_NAME
|
protected java.io.File |
tempDir
|
| 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 | |
|---|---|
BuildDbTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
void |
setOsName(java.lang.String os)
Sets the objectstore |
void |
setSchemafile(java.lang.String schemafile)
Adds the schemafile to be processed. |
void |
setTempdir(java.io.File tempDir)
Sets the directory for temporary files including sql output |
| 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 |
|---|
protected static final java.lang.String SERIAL_SEQUENCE_NAME
protected java.io.File tempDir
protected Database database
protected java.lang.String databaseAlias
protected java.lang.String schemaFile
| Constructor Detail |
|---|
public BuildDbTask()
| Method Detail |
|---|
public void setOsName(java.lang.String os)
os - String used to identify objectstore and therefore databasepublic void setTempdir(java.io.File tempDir)
tempDir - the directory locationpublic void setSchemafile(java.lang.String schemafile)
schemafile - to be processedpublic void execute()
execute in class org.apache.tools.ant.Task
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||