public abstract class AbstractMigrationCmd<T> extends Object implements Command<T>
Modifier and Type | Field and Description |
---|---|
protected MigrationPlanExecutionBuilderImpl |
executionBuilder |
Constructor and Description |
---|
AbstractMigrationCmd(MigrationPlanExecutionBuilderImpl executionBuilder) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAuthorizations(CommandContext commandContext,
ProcessDefinitionEntity sourceDefinition,
ProcessDefinitionEntity targetDefinition,
Collection<String> processInstanceIds) |
protected Collection<String> |
collectProcessInstanceIds(CommandContext commandContext) |
protected ProcessDefinitionEntity |
getProcessDefinition(CommandContext commandContext,
String processDefinitionId) |
protected ProcessDefinitionEntity |
resolveSourceProcessDefinition(CommandContext commandContext) |
protected ProcessDefinitionEntity |
resolveTargetProcessDefinition(CommandContext commandContext) |
protected void |
writeUserOperationLog(CommandContext commandContext,
ProcessDefinitionEntity sourceProcessDefinition,
ProcessDefinitionEntity targetProcessDefinition,
int numInstances,
boolean async) |
protected MigrationPlanExecutionBuilderImpl executionBuilder
public AbstractMigrationCmd(MigrationPlanExecutionBuilderImpl executionBuilder)
protected void checkAuthorizations(CommandContext commandContext, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition, Collection<String> processInstanceIds)
protected Collection<String> collectProcessInstanceIds(CommandContext commandContext)
protected void writeUserOperationLog(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition, int numInstances, boolean async)
protected ProcessDefinitionEntity resolveSourceProcessDefinition(CommandContext commandContext)
protected ProcessDefinitionEntity resolveTargetProcessDefinition(CommandContext commandContext)
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, String processDefinitionId)
Copyright © 2019. All rights reserved.