Class MergeSourceModelsTask

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class MergeSourceModelsTask
    extends org.apache.tools.ant.Task
    Task to merge additions files from all sources in the project.xml into an intermine XML model.
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      void setExtraModelsEnd​(java.lang.String extraModelsEnd)
      The paths containing extra model additions that should be merged last.
      void setExtraModelsStart​(java.lang.String extraModelsStart)
      The paths containing extra model additions that should be merged first.
      void setModelFilePath​(java.io.File file)
      Set the model to add additions to.
      void setProjectXmlPath​(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
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MergeSourceModelsTask

        public MergeSourceModelsTask()
    • 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:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException