public abstract class AbstractInitUpdateTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
AbstractInitUpdateTask() |
| Modifier and Type | Method and 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) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic java.lang.String getDescription()
getDescription in class org.apache.tools.ant.ProjectComponentpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic abstract void executeSchemaGenerator(HybrisSchemaGenerator schemaGenerator)
public abstract void setScriptNames(HybrisSchemaGenerator schemaGenerator) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getTenantId()
public void setTenantId(java.lang.String tenant)
public boolean isDryRun()
public void setDryRun(boolean dryRun)
public java.io.File getDdlFilePath()
public void setDdlFilePath(java.io.File ddlFilePath)
public java.io.File getDmlFilePath()
public void setDmlFilePath(java.io.File dmlFilePath)
Copyright © 2018 SAP SE. All Rights Reserved.