Class DBConverterTask


  • public class DBConverterTask
    extends ConverterTask
    Task to call DBConverters.
    Author:
    Kim Rutherford
    • Field Summary

      • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      DBConverterTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Run the task
      void setClsName​(java.lang.String clsName)
      Set the source specific subclass of FileConverter to run
      void setDbAlias​(java.lang.String dbAlias)
      Set the Database to read from
      • 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
    • Constructor Detail

      • DBConverterTask

        public DBConverterTask()
    • Method Detail

      • setClsName

        public void setClsName​(java.lang.String clsName)
        Set the source specific subclass of FileConverter to run
        Parameters:
        clsName - name of converter class to run
      • setDbAlias

        public void setDbAlias​(java.lang.String dbAlias)
        Set the Database to read from
        Parameters:
        dbAlias - the database alias
      • execute

        public void execute()
        Run the task
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException - if a problem occurs