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