Class MigratingInstanceParser
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.instance.parser.MigratingInstanceParser
-
public class MigratingInstanceParser extends Object
Builds aMigratingProcessInstance
, a data structure that contains meta-data for the activity instances that are migrated.- Author:
- Thorben Lindhauer
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MigratingInstanceParser(ProcessEngine engine)
-
Method Summary
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
activityInstanceHandler
protected MigratingInstanceParseHandler<ActivityInstance> activityInstanceHandler
-
transitionInstanceHandler
protected MigratingInstanceParseHandler<TransitionInstance> transitionInstanceHandler
-
compensationInstanceHandler
protected MigratingInstanceParseHandler<EventSubscriptionEntity> compensationInstanceHandler
-
dependentActivityInstanceJobHandler
protected MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<JobEntity>> dependentActivityInstanceJobHandler
-
dependentTransitionInstanceJobHandler
protected MigratingDependentInstanceParseHandler<MigratingTransitionInstance,List<JobEntity>> dependentTransitionInstanceJobHandler
-
dependentEventSubscriptionHandler
protected MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<EventSubscriptionEntity>> dependentEventSubscriptionHandler
-
dependentVariableHandler
protected MigratingDependentInstanceParseHandler<MigratingProcessElementInstance,List<VariableInstanceEntity>> dependentVariableHandler
-
incidentHandler
protected MigratingInstanceParseHandler<IncidentEntity> incidentHandler
-
-
Constructor Detail
-
MigratingInstanceParser
public MigratingInstanceParser(ProcessEngine engine)
-
-
Method Detail
-
parse
public MigratingProcessInstance parse(String processInstanceId, MigrationPlan migrationPlan, MigratingProcessInstanceValidationReportImpl processInstanceReport)
-
getActivityInstanceHandler
public MigratingInstanceParseHandler<ActivityInstance> getActivityInstanceHandler()
-
getTransitionInstanceHandler
public MigratingInstanceParseHandler<TransitionInstance> getTransitionInstanceHandler()
-
getDependentEventSubscriptionHandler
public MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<EventSubscriptionEntity>> getDependentEventSubscriptionHandler()
-
getDependentActivityInstanceJobHandler
public MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<JobEntity>> getDependentActivityInstanceJobHandler()
-
getDependentTransitionInstanceJobHandler
public MigratingDependentInstanceParseHandler<MigratingTransitionInstance,List<JobEntity>> getDependentTransitionInstanceJobHandler()
-
getIncidentHandler
public MigratingInstanceParseHandler<IncidentEntity> getIncidentHandler()
-
getDependentVariablesHandler
public MigratingDependentInstanceParseHandler<MigratingProcessElementInstance,List<VariableInstanceEntity>> getDependentVariablesHandler()
-
fetchExecutions
protected List<ExecutionEntity> fetchExecutions(CommandContext commandContext, String processInstanceId)
-
fetchEventSubscriptions
protected List<EventSubscriptionEntity> fetchEventSubscriptions(CommandContext commandContext, String processInstanceId)
-
fetchExternalTasks
protected List<ExternalTaskEntity> fetchExternalTasks(CommandContext commandContext, String processInstanceId)
-
fetchJobs
protected List<JobEntity> fetchJobs(CommandContext commandContext, String processInstanceId)
-
fetchIncidents
protected List<IncidentEntity> fetchIncidents(CommandContext commandContext, String processInstanceId)
-
fetchTasks
protected List<TaskEntity> fetchTasks(CommandContext commandContext, String processInstanceId)
-
fetchJobDefinitions
protected List<JobDefinitionEntity> fetchJobDefinitions(CommandContext commandContext, String processDefinitionId)
-
fetchVariables
protected List<VariableInstanceEntity> fetchVariables(CommandContext commandContext, String processInstanceId)
-
-