public class ProcessInstanceMigrationServiceImpl extends Object implements ProcessInstanceMigrationService
org.jbpm.services.api.admin.ProcessInstanceMigrationService
that delegates complete migration to org.jbpm.runtime.manager.impl.migration.MigrationManager
Constructor and Description |
---|
ProcessInstanceMigrationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected MigrationReport |
convert(MigrationReport report) |
List<MigrationReport> |
migrate(String sourceDeploymentId,
List<Long> processInstanceIds,
String targetDeploymentId,
String targetProcessId)
Migrates given process instances that belong to source deployment, into target process id that belongs to target deployment.
|
List<MigrationReport> |
migrate(String sourceDeploymentId,
List<Long> processInstanceIds,
String targetDeploymentId,
String targetProcessId,
Map<String,String> nodeMapping)
Migrates given process instances (with node mapping) that belong to source deployment, into target process id that belongs to target deployment.
|
MigrationReport |
migrate(String sourceDeploymentId,
Long processInstanceId,
String targetDeploymentId,
String targetProcessId)
Migrates given process instance that belongs to source deployment, into target process id that belongs to target deployment.
|
MigrationReport |
migrate(String sourceDeploymentId,
Long processInstanceId,
String targetDeploymentId,
String targetProcessId,
Map<String,String> nodeMapping)
Migrates given process instance (with node mapping) that belongs to source deployment, into target process id that belongs to target deployment.
|
public MigrationReport migrate(String sourceDeploymentId, Long processInstanceId, String targetDeploymentId, String targetProcessId)
ProcessInstanceMigrationService
migrate
in interface ProcessInstanceMigrationService
sourceDeploymentId
- deployment that process instance to be migrated belongs toprocessInstanceId
- id of the process instance to be migratedtargetDeploymentId
- id of deployment that target process belongs totargetProcessId
- id of the process process instance should be migrated topublic MigrationReport migrate(String sourceDeploymentId, Long processInstanceId, String targetDeploymentId, String targetProcessId, Map<String,String> nodeMapping)
ProcessInstanceMigrationService
migrate
in interface ProcessInstanceMigrationService
sourceDeploymentId
- deployment that process instance to be migrated belongs toprocessInstanceId
- id of the process instance to be migratedtargetDeploymentId
- id of deployment that target process belongs totargetProcessId
- id of the process process instance should be migrated tonodeMapping
- node mapping - source and target unique ids of nodes to be mapped - from process instance active nodes to new process nodespublic List<MigrationReport> migrate(String sourceDeploymentId, List<Long> processInstanceIds, String targetDeploymentId, String targetProcessId)
ProcessInstanceMigrationService
migrate
in interface ProcessInstanceMigrationService
sourceDeploymentId
- deployment that process instance to be migrated belongs toprocessInstanceIds
- list of process instance id to be migratedtargetDeploymentId
- id of deployment that target process belongs totargetProcessId
- id of the process process instance should be migrated topublic List<MigrationReport> migrate(String sourceDeploymentId, List<Long> processInstanceIds, String targetDeploymentId, String targetProcessId, Map<String,String> nodeMapping)
ProcessInstanceMigrationService
migrate
in interface ProcessInstanceMigrationService
sourceDeploymentId
- deployment that process instance to be migrated belongs toprocessInstanceIds
- list of process instance id to be migratedtargetDeploymentId
- id of deployment that target process belongs totargetProcessId
- id of the process process instance should be migrated tonodeMapping
- node mapping - source and target unique ids of nodes to be mapped - from process instance active nodes to new process nodesprotected MigrationReport convert(MigrationReport report)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.