org.camunda.bpm.engine.impl.migration.instance
Class MigratingIncident

java.lang.Object
  extended by org.camunda.bpm.engine.impl.migration.instance.MigratingIncident
All Implemented Interfaces:
MigratingInstance

public class MigratingIncident
extends Object
implements MigratingInstance


Field Summary
protected  IncidentEntity incident
           
protected  String targetJobDefinitionId
           
protected  ScopeImpl targetScope
           
 
Constructor Summary
MigratingIncident(IncidentEntity incident, ScopeImpl targetScope)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

incident

protected IncidentEntity incident

targetScope

protected ScopeImpl targetScope

targetJobDefinitionId

protected String targetJobDefinitionId
Constructor Detail

MigratingIncident

public MigratingIncident(IncidentEntity incident,
                         ScopeImpl targetScope)
Method Detail

setTargetJobDefinitionId

public void setTargetJobDefinitionId(String targetJobDefinitionId)

isDetached

public boolean isDetached()
Specified by:
isDetached in interface MigratingInstance

detachState

public void detachState()
Description copied from interface: MigratingInstance
Detach this instance's state from its owning instance and the execution tree

Specified by:
detachState in interface MigratingInstance

attachState

public void attachState(MigratingScopeInstance newOwningInstance)
Description copied from interface: MigratingInstance
Restore this instance's state as a subordinate to the given activity instance (e.g. in the execution tree). Restoration should restore the state that was detached before.

Specified by:
attachState in interface MigratingInstance

attachState

public void attachState(MigratingTransitionInstance targetTransitionInstance)
Description copied from interface: MigratingInstance
Restore this instance's state as a subordinate to the given transition instance (e.g. in the execution tree). Restoration should restore the state that was detached before.

Specified by:
attachState in interface MigratingInstance

migrateState

public void migrateState()
Description copied from interface: MigratingInstance
Migrate state from the source process definition to the target process definition.

Specified by:
migrateState in interface MigratingInstance

migrateHistory

protected void migrateHistory()

migrateDependentEntities

public void migrateDependentEntities()
Description copied from interface: MigratingInstance
Migrate instances that are aggregated by this instance (e.g. an activity instance aggregates task instances).

Specified by:
migrateDependentEntities in interface MigratingInstance

attachTo

protected void attachTo(ExecutionEntity execution)


Copyright © 2016 camunda services GmbH. All rights reserved.