Package org.intermine.task
Class RetrieveMetadataTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.intermine.task.RetrieveMetadataTask
-
public class RetrieveMetadataTask extends org.apache.tools.ant.Task
Retrieve the model metadata from a database- Author:
- Mark Woodbridge
-
-
Constructor Summary
Constructors Constructor Description RetrieveMetadataTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
void
setDestDir(java.io.File destDir)
Sets the destination directoryvoid
setKeyToRetreive(java.lang.String keyToRetrieve)
Set a key to retrieve from database.void
setOsName(java.lang.String osname)
Sets the os alias-
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
-
-
-
-
Method Detail
-
setDestDir
public void setDestDir(java.io.File destDir)
Sets the destination directory- Parameters:
destDir
- the destination directory
-
setOsName
public void setOsName(java.lang.String osname)
Sets the os alias- Parameters:
osname
- the os alias
-
setKeyToRetreive
public void setKeyToRetreive(java.lang.String keyToRetrieve)
Set a key to retrieve from database. If not set, retrieve all property files that were stored when the database was created.- Parameters:
keyToRetrieve
- the key
-
execute
public void execute()
- Overrides:
execute
in classorg.apache.tools.ant.Task
-
-