Class MigratingInstanceParser
java.lang.Object
org.camunda.bpm.engine.impl.migration.instance.parser.MigratingInstanceParser
Builds a
MigratingProcessInstance
, a data structure that contains meta-data for the activity
instances that are migrated.- Author:
- Thorben Lindhauer
-
Field Summary
Modifier and TypeFieldDescriptionprotected MigratingInstanceParseHandler<ActivityInstance>
protected MigratingDependentInstanceParseHandler<MigratingActivityInstance,
List<EventSubscriptionEntity>> protected MigratingDependentInstanceParseHandler<MigratingProcessElementInstance,
List<VariableInstanceEntity>> protected ProcessEngine
protected MigratingInstanceParseHandler<IncidentEntity>
protected MigratingInstanceParseHandler<TransitionInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<EventSubscriptionEntity>
fetchEventSubscriptions
(CommandContext commandContext, String processInstanceId) protected List<ExecutionEntity>
fetchExecutions
(CommandContext commandContext, String processInstanceId) protected List<ExternalTaskEntity>
fetchExternalTasks
(CommandContext commandContext, String processInstanceId) protected List<IncidentEntity>
fetchIncidents
(CommandContext commandContext, String processInstanceId) protected List<JobDefinitionEntity>
fetchJobDefinitions
(CommandContext commandContext, String processDefinitionId) fetchJobs
(CommandContext commandContext, String processInstanceId) protected List<TaskEntity>
fetchTasks
(CommandContext commandContext, String processInstanceId) protected List<VariableInstanceEntity>
fetchVariables
(CommandContext commandContext, String processInstanceId) MigratingDependentInstanceParseHandler<MigratingProcessElementInstance,
List<VariableInstanceEntity>> parse
(String processInstanceId, MigrationPlan migrationPlan, MigratingProcessInstanceValidationReportImpl processInstanceReport)
-
Field Details
-
engine
-
activityInstanceHandler
-
transitionInstanceHandler
-
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
-
-
Constructor Details
-
MigratingInstanceParser
-
-
Method Details
-
parse
public MigratingProcessInstance parse(String processInstanceId, MigrationPlan migrationPlan, MigratingProcessInstanceValidationReportImpl processInstanceReport) -
getActivityInstanceHandler
-
getTransitionInstanceHandler
-
getDependentEventSubscriptionHandler
public MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<EventSubscriptionEntity>> getDependentEventSubscriptionHandler() -
getDependentActivityInstanceJobHandler
public MigratingDependentInstanceParseHandler<MigratingActivityInstance,List<JobEntity>> getDependentActivityInstanceJobHandler() -
getDependentTransitionInstanceJobHandler
public MigratingDependentInstanceParseHandler<MigratingTransitionInstance,List<JobEntity>> getDependentTransitionInstanceJobHandler() -
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
-
fetchIncidents
protected List<IncidentEntity> fetchIncidents(CommandContext commandContext, String processInstanceId) -
fetchTasks
-
fetchJobDefinitions
protected List<JobDefinitionEntity> fetchJobDefinitions(CommandContext commandContext, String processDefinitionId) -
fetchVariables
protected List<VariableInstanceEntity> fetchVariables(CommandContext commandContext, String processInstanceId)
-