|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.migration.instance.MigratingJobInstance
public abstract class MigratingJobInstance
| Field Summary | |
|---|---|
protected JobEntity |
jobEntity
|
protected List<MigratingInstance> |
migratingDependentInstances
|
protected JobDefinitionEntity |
targetJobDefinitionEntity
|
protected ScopeImpl |
targetScope
|
| Constructor Summary | |
|---|---|
MigratingJobInstance(JobEntity jobEntity)
|
|
MigratingJobInstance(JobEntity jobEntity,
JobDefinitionEntity jobDefinitionEntity,
ScopeImpl targetScope)
|
|
| Method Summary | |
|---|---|
void |
addMigratingDependentInstance(MigratingInstance migratingInstance)
|
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 |
JobEntity |
getJobEntity()
|
JobDefinitionEntity |
getTargetJobDefinitionEntity()
|
ScopeImpl |
getTargetScope()
|
boolean |
isDetached()
|
void |
migrateDependentEntities()
Migrate instances that are aggregated by this instance (e.g. |
protected abstract void |
migrateJobHandlerConfiguration()
|
boolean |
migrates()
|
void |
migrateState()
Migrate state from the source process definition to the target process definition. |
void |
remove()
Remove this instance from the process instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JobEntity jobEntity
protected JobDefinitionEntity targetJobDefinitionEntity
protected ScopeImpl targetScope
protected List<MigratingInstance> migratingDependentInstances
| Constructor Detail |
|---|
public MigratingJobInstance(JobEntity jobEntity,
JobDefinitionEntity jobDefinitionEntity,
ScopeImpl targetScope)
public MigratingJobInstance(JobEntity jobEntity)
| Method Detail |
|---|
public JobEntity getJobEntity()
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
public boolean isDetached()
isDetached in interface MigratingInstancepublic void detachState()
MigratingInstance
detachState in interface MigratingInstancepublic void attachState(MigratingScopeInstance newOwningInstance)
MigratingInstance
attachState in interface MigratingInstancepublic void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstance
attachState in interface MigratingInstanceprotected void attachTo(ExecutionEntity execution)
public void migrateState()
MigratingInstance
migrateState in interface MigratingInstancepublic void migrateDependentEntities()
MigratingInstance
migrateDependentEntities in interface MigratingInstancepublic void remove()
RemovingInstance
remove in interface RemovingInstancepublic boolean migrates()
public ScopeImpl getTargetScope()
public JobDefinitionEntity getTargetJobDefinitionEntity()
protected abstract void migrateJobHandlerConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||