public class MigratingInstanceParser extends Object
MigratingProcessInstance
, a data structure that contains meta-data for the activity
instances that are migrated.Constructor and Description |
---|
MigratingInstanceParser(ProcessEngine engine) |
protected ProcessEngine engine
protected MigratingInstanceParseHandler<ActivityInstance> activityInstanceHandler
protected MigratingInstanceParseHandler<TransitionInstance> transitionInstanceHandler
protected MigratingInstanceParseHandler<EventSubscriptionEntity> compensationInstanceHandler
protected MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<JobEntity>> dependentActivityInstanceJobHandler
protected MigratingDependentInstanceParseHandler<MigratingTransitionInstance,List<JobEntity>> dependentTransitionInstanceJobHandler
protected MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<EventSubscriptionEntity>> dependentEventSubscriptionHandler
protected MigratingDependentInstanceParseHandler<MigratingProcessElementInstance,List<VariableInstanceEntity>> dependentVariableHandler
protected MigratingInstanceParseHandler<IncidentEntity> incidentHandler
public MigratingInstanceParser(ProcessEngine engine)
public MigratingProcessInstance parse(String processInstanceId, MigrationPlan migrationPlan, MigratingProcessInstanceValidationReportImpl processInstanceReport)
public MigratingInstanceParseHandler<ActivityInstance> getActivityInstanceHandler()
public MigratingInstanceParseHandler<TransitionInstance> getTransitionInstanceHandler()
public MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<EventSubscriptionEntity>> getDependentEventSubscriptionHandler()
public MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<JobEntity>> getDependentActivityInstanceJobHandler()
public MigratingDependentInstanceParseHandler<MigratingTransitionInstance,List<JobEntity>> getDependentTransitionInstanceJobHandler()
public MigratingInstanceParseHandler<IncidentEntity> getIncidentHandler()
public MigratingDependentInstanceParseHandler<MigratingProcessElementInstance,List<VariableInstanceEntity>> getDependentVariablesHandler()
protected List<ExecutionEntity> fetchExecutions(CommandContext commandContext, String processInstanceId)
protected List<EventSubscriptionEntity> fetchEventSubscriptions(CommandContext commandContext, String processInstanceId)
protected List<ExternalTaskEntity> fetchExternalTasks(CommandContext commandContext, String processInstanceId)
protected List<JobEntity> fetchJobs(CommandContext commandContext, String processInstanceId)
protected List<IncidentEntity> fetchIncidents(CommandContext commandContext, String processInstanceId)
protected List<TaskEntity> fetchTasks(CommandContext commandContext, String processInstanceId)
protected List<JobDefinitionEntity> fetchJobDefinitions(CommandContext commandContext, String processDefinitionId)
protected List<VariableInstanceEntity> fetchVariables(CommandContext commandContext, String processInstanceId)
Copyright © 2020. All rights reserved.