public class MigratingIncident extends Object implements MigratingInstance
Modifier and Type | Field and Description |
---|---|
protected IncidentEntity |
incident |
protected String |
targetJobDefinitionId |
protected ScopeImpl |
targetScope |
Constructor and Description |
---|
MigratingIncident(IncidentEntity incident,
ScopeImpl targetScope) |
Modifier and Type | Method and Description |
---|---|
void |
attachState(MigratingScopeInstance newOwningInstance)
Restore this instance's state as a subordinate to the given activity instance
(e.g.
|
void |
attachState(MigratingTransitionInstance targetTransitionInstance)
Restore this instance's state as a subordinate to the given transition instance
(e.g.
|
protected void |
attachTo(ExecutionEntity execution) |
void |
detachState()
Detach this instance's state from its owning instance and the execution tree
|
boolean |
isDetached() |
void |
migrateDependentEntities()
Migrate instances that are aggregated by this instance
(e.g.
|
protected void |
migrateHistory() |
void |
migrateState()
Migrate state from the source process definition
to the target process definition.
|
void |
setTargetJobDefinitionId(String targetJobDefinitionId) |
protected IncidentEntity incident
protected ScopeImpl targetScope
protected String targetJobDefinitionId
public MigratingIncident(IncidentEntity incident, ScopeImpl targetScope)
public void setTargetJobDefinitionId(String targetJobDefinitionId)
public boolean isDetached()
isDetached
in interface MigratingInstance
public void detachState()
MigratingInstance
detachState
in interface MigratingInstance
public void attachState(MigratingScopeInstance newOwningInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void migrateState()
MigratingInstance
migrateState
in interface MigratingInstance
protected void migrateHistory()
public void migrateDependentEntities()
MigratingInstance
migrateDependentEntities
in interface MigratingInstance
protected void attachTo(ExecutionEntity execution)
Copyright © 2018. All rights reserved.