Class ConverterTask

    • 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
      ConverterTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doSQL​(ObjectStore os)
      Runs various performance-enhancing SQL statements.
      java.lang.String getExcludeList()
      Return the list set by setExcludeList().
      java.lang.String getModelName()
      Return the model name
      java.lang.String getOsName()
      Return the object store alias set by setOsName().
      void setExcludeList​(java.lang.String excludeList)
      Sets the list of classes to NOT try and convert
      void setModelName​(java.lang.String modelName)
      Set the target model name
      void setOsName​(java.lang.String osName)
      Set the objectstore name
      • Methods inherited from class org.apache.tools.ant.Task

        execute, 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

      • ConverterTask

        public ConverterTask()
    • Method Detail

      • setOsName

        public void setOsName​(java.lang.String osName)
        Set the objectstore name
        Parameters:
        osName - the model name
      • setExcludeList

        public void setExcludeList​(java.lang.String excludeList)
        Sets the list of classes to NOT try and convert
        Parameters:
        excludeList - the suitably formatted list of classes to exclude.
      • getExcludeList

        public java.lang.String getExcludeList()
        Return the list set by setExcludeList().
        Returns:
        the exclude list
      • getModelName

        public java.lang.String getModelName()
        Return the model name
        Returns:
        the Model name
      • setModelName

        public void setModelName​(java.lang.String modelName)
        Set the target model name
        Parameters:
        modelName - the Model name
      • getOsName

        public java.lang.String getOsName()
        Return the object store alias set by setOsName().
        Returns:
        the object store alias
      • doSQL

        protected void doSQL​(ObjectStore os)
                      throws java.sql.SQLException,
                             java.io.IOException
        Runs various performance-enhancing SQL statements.
        Parameters:
        os - the ObjectStore on which to run the SQL
        Throws:
        java.sql.SQLException - if something goes wrong
        java.io.IOException - if an error occurs while reading from the post-processing sql file