Package de.hybris.ant.taskdefs.init
Class AbstractInitUpdateTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- de.hybris.ant.taskdefs.init.AbstractInitUpdateTask
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
TypeSystemInitializerTask
,TypeSystemUpdaterTask
public abstract class AbstractInitUpdateTask extends org.apache.tools.ant.Task
-
-
Constructor Summary
Constructors Constructor Description AbstractInitUpdateTask()
-
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
-
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription
in classorg.apache.tools.ant.ProjectComponent
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.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)
-
-