Class TorqueModelOutputTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.intermine.objectstore.intermine.TorqueModelOutputTask
-
public class TorqueModelOutputTask extends org.apache.tools.ant.Task
Creates and runs a ModelOutput process to generate java or config files.- Author:
- Richard Smith, Matthew Wakeling
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
destFile
protected DatabaseSchema
schema
-
Constructor Summary
Constructors Constructor Description TorqueModelOutputTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
void
setDestFile(java.io.File destFile)
Sets the file to which the data should be written.void
setOsName(java.lang.String osName)
Set the ObjectStore for which to generate the data.-
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
-
-
-
-
Field Detail
-
destFile
protected java.io.File destFile
-
schema
protected DatabaseSchema schema
-
-
Method Detail
-
setDestFile
public void setDestFile(java.io.File destFile)
Sets the file to which the data should be written.- Parameters:
destFile
- the file location
-
setOsName
public void setOsName(java.lang.String osName)
Set the ObjectStore for which to generate the data.- Parameters:
osName
- the ObjectStore name to be used
-
execute
public void execute()
- Overrides:
execute
in classorg.apache.tools.ant.Task
-
-