Class 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  
      • 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
    • 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
      • 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
    • Field Detail

      • destFile

        protected java.io.File destFile
    • Constructor Detail

      • TorqueModelOutputTask

        public TorqueModelOutputTask()
    • 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 class org.apache.tools.ant.Task