Package org.intermine.plugin.ant
Class MergeSourceModelsTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.intermine.plugin.ant.MergeSourceModelsTask
-
- All Implemented Interfaces:
java.lang.Cloneable
public class MergeSourceModelsTask extends org.apache.tools.ant.TaskTask to merge additions files from all sources in the project.xml into an intermine XML model.
-
-
Constructor Summary
Constructors Constructor Description MergeSourceModelsTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidsetExtraModelsEnd(java.lang.String extraModelsEnd)The paths containing extra model additions that should be merged last.voidsetExtraModelsStart(java.lang.String extraModelsStart)The paths containing extra model additions that should be merged first.voidsetModelFilePath(java.io.File file)Set the model to add additions to.voidsetProjectXmlPath(java.io.File projectXml)Set the project.xml file to use when post-processing.-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
setProjectXmlPath
public void setProjectXmlPath(java.io.File projectXml)
Set the project.xml file to use when post-processing.- Parameters:
projectXml- the project xml file
-
setModelFilePath
public void setModelFilePath(java.io.File file)
Set the model to add additions to.- Parameters:
file- path to model file
-
setExtraModelsStart
public void setExtraModelsStart(java.lang.String extraModelsStart)
The paths containing extra model additions that should be merged first.- Parameters:
extraModelsStart- a space separated list of model addition paths
-
setExtraModelsEnd
public void setExtraModelsEnd(java.lang.String extraModelsEnd)
The paths containing extra model additions that should be merged last.- Parameters:
extraModelsEnd- a space separated list of model addition paths
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
-