CONFIG - the configuration type for the templateAPPLY - the apply payload typeROLLBACK - the rollback payload typepublic class SimpleTemplateExecutableChange<CONFIG extends io.flamingock.api.template.TemplateField,APPLY extends io.flamingock.api.template.TemplatePayload,ROLLBACK extends io.flamingock.api.template.TemplatePayload> extends AbstractTemplateExecutableChange<CONFIG,APPLY,ROLLBACK,SimpleTemplateLoadedChange<CONFIG,APPLY,ROLLBACK>>
@ChangeTemplate(steppable = false) or without annotation.loggerexecutionMethod, rollbackMethodaction, loadedChange| Constructor and Description |
|---|
SimpleTemplateExecutableChange(java.lang.String stageName,
SimpleTemplateLoadedChange<CONFIG,APPLY,ROLLBACK> loadedChange,
io.flamingock.internal.common.core.recovery.action.ChangeAction action,
java.lang.reflect.Method executionMethod,
java.lang.reflect.Method rollbackMethod) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ExecutionRuntime executionRuntime) |
protected void |
executeInternal(ExecutionRuntime executionRuntime,
java.lang.reflect.Method method) |
void |
rollback(ExecutionRuntime executionRuntime) |
getSetterMethod, setConfigurationDatagetApplyMethodName, getRollbackMethodNameequals, getAction, getAuthor, getId, getLoadedChange, getOrder, getRecovery, getSource, getSourceFile, getStageName, getTargetSystem, getTransactionalFlag, hashCode, isAlreadyApplied, isLegacy, isRunAlways, isSystem, isTransactional, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAction, getLoadedChange, getStageName, isAlreadyApplied, isTransactionalpublic SimpleTemplateExecutableChange(java.lang.String stageName,
SimpleTemplateLoadedChange<CONFIG,APPLY,ROLLBACK> loadedChange,
io.flamingock.internal.common.core.recovery.action.ChangeAction action,
java.lang.reflect.Method executionMethod,
java.lang.reflect.Method rollbackMethod)
public void apply(ExecutionRuntime executionRuntime)
public void rollback(ExecutionRuntime executionRuntime)
protected void executeInternal(ExecutionRuntime executionRuntime, java.lang.reflect.Method method)