Class AbstractInitUpdateTask

    • 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 Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      abstract void executeSchemaGenerator​(HybrisSchemaGenerator schemaGenerator)
      Executes appropriate HybrisSchemaGenerator method like initialize or update.
      java.io.File getDdlFilePath()  
      java.lang.String getDescription()  
      java.io.File getDmlFilePath()  
      java.lang.String getTenantId()  
      boolean isDryRun()  
      void setDdlFilePath​(java.io.File ddlFilePath)  
      void setDmlFilePath​(java.io.File dmlFilePath)  
      void setDryRun​(boolean dryRun)  
      abstract void setScriptNames​(HybrisSchemaGenerator schemaGenerator)
      Setups script names for HybrisSchemaGenerator need by initialization or update.
      void setTenantId​(java.lang.String tenant)  
      • 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, getLocation, getProject, setDescription, setLocation, setProject
      • Methods inherited from class java.lang.Object

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

      • AbstractInitUpdateTask

        public AbstractInitUpdateTask()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Overrides:
        getDescription in class org.apache.tools.ant.ProjectComponent
      • 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
      • executeSchemaGenerator

        public abstract void executeSchemaGenerator​(HybrisSchemaGenerator schemaGenerator)
        Executes appropriate HybrisSchemaGenerator method like initialize or update.
      • setScriptNames

        public abstract void setScriptNames​(HybrisSchemaGenerator schemaGenerator)
                                     throws java.lang.Exception
        Setups script names for HybrisSchemaGenerator need by initialization or update.
        Throws:
        java.lang.Exception
      • getTenantId

        public java.lang.String getTenantId()
      • setTenantId

        public void setTenantId​(java.lang.String tenant)
      • isDryRun

        public boolean isDryRun()
      • setDryRun

        public void setDryRun​(boolean dryRun)
      • getDdlFilePath

        public java.io.File getDdlFilePath()
      • setDdlFilePath

        public void setDdlFilePath​(java.io.File ddlFilePath)
      • getDmlFilePath

        public java.io.File getDmlFilePath()
      • setDmlFilePath

        public void setDmlFilePath​(java.io.File dmlFilePath)