|
|||||||||
| 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.DynamicAttributeTask
org.intermine.task.ConverterTask
public class ConverterTask
Task superclass for invoking converters.
| Field Summary |
|---|
| Fields inherited from class org.intermine.task.DynamicAttributeTask |
|---|
LOG |
| 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 | |
|---|---|
ConverterTask()
|
|
| Method Summary | |
|---|---|
protected void |
doSQL(ObjectStore os)
Runs various performance-enhancing SQL statements. |
java.lang.String |
getExcludeList()
Return the list set by setExcludeList(). |
java.lang.String |
getModelName()
Return the model name |
java.lang.String |
getOsName()
Return the object store alias set by setOsName(). |
void |
setExcludeList(java.lang.String excludeList)
Sets the list of classes to NOT try and convert |
void |
setModelName(java.lang.String modelName)
Set the target model name |
void |
setOsName(java.lang.String osName)
Set the objectstore name |
| Methods inherited from class org.intermine.task.DynamicAttributeTask |
|---|
configureDynamicAttributes |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
execute, 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 ConverterTask()
| Method Detail |
|---|
public void setOsName(java.lang.String osName)
osName - the model namepublic void setExcludeList(java.lang.String excludeList)
excludeList - the suitably formatted list of classs to exclude.public java.lang.String getExcludeList()
public java.lang.String getModelName()
public void setModelName(java.lang.String modelName)
modelName - the Model namepublic java.lang.String getOsName()
protected void doSQL(ObjectStore os)
throws java.sql.SQLException,
java.io.IOException
os - the ObjectStore on which to run the SQL
java.sql.SQLException - if something goes wrong
java.io.IOException - if an error occurs while reading from the post-processing sql file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||