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:
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, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()abstract voidexecuteSchemaGenerator(HybrisSchemaGenerator schemaGenerator) Executes appropriate HybrisSchemaGenerator method like initialize or update.booleanisDryRun()voidsetDdlFilePath(File ddlFilePath) voidsetDmlFilePath(File dmlFilePath) voidsetDryRun(boolean dryRun) abstract voidsetScriptNames(HybrisSchemaGenerator schemaGenerator) Setups script names for HybrisSchemaGenerator need by initialization or update.voidsetTenantId(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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
AbstractInitUpdateTask
public AbstractInitUpdateTask()
-
-
Method Details
-
getDescription
- Overrides:
getDescriptionin classorg.apache.tools.ant.ProjectComponent
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
executeSchemaGenerator
Executes appropriate HybrisSchemaGenerator method like initialize or update. -
setScriptNames
Setups script names for HybrisSchemaGenerator need by initialization or update.- Throws:
Exception
-
getTenantId
-
setTenantId
-
isDryRun
public boolean isDryRun() -
setDryRun
public void setDryRun(boolean dryRun) -
getDdlFilePath
-
setDdlFilePath
-
getDmlFilePath
-
setDmlFilePath
-