Class AbstractInitUpdateTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
de.hybris.ant.taskdefs.init.AbstractInitUpdateTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
TypeSystemInitializerTask, TypeSystemUpdaterTask

public abstract class AbstractInitUpdateTask extends org.apache.tools.ant.Task
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    abstract void
    Executes appropriate HybrisSchemaGenerator method like initialize or update.
     
     
     
     
    boolean
     
    void
    setDdlFilePath(File ddlFilePath)
     
    void
    setDmlFilePath(File dmlFilePath)
     
    void
    setDryRun(boolean dryRun)
     
    abstract void
    Setups script names for HybrisSchemaGenerator need by initialization or update.
    void
     

    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 Details

    • AbstractInitUpdateTask

      public AbstractInitUpdateTask()
  • Method Details

    • getDescription

      public 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 Exception
      Setups script names for HybrisSchemaGenerator need by initialization or update.
      Throws:
      Exception
    • getTenantId

      public String getTenantId()
    • setTenantId

      public void setTenantId(String tenant)
    • isDryRun

      public boolean isDryRun()
    • setDryRun

      public void setDryRun(boolean dryRun)
    • getDdlFilePath

      public File getDdlFilePath()
    • setDdlFilePath

      public void setDdlFilePath(File ddlFilePath)
    • getDmlFilePath

      public File getDmlFilePath()
    • setDmlFilePath

      public void setDmlFilePath(File dmlFilePath)