org.eclipse.stardust.engine.core.runtime.beans
Class AbortScope

java.lang.Object
  extended by org.eclipse.stardust.common.StringKey
      extended by org.eclipse.stardust.engine.core.runtime.beans.AbortScope
All Implemented Interfaces:
Serializable, Comparable

public class AbortScope
extends org.eclipse.stardust.common.StringKey

Represents the abortion scope.

Version:
$Revision: $
Author:
sborn
See Also:
Serialized Form

Field Summary
static String ROOT_HIERARCHY
           
static AbortScope RootHierarchy
          The process abort is performed starting from the root process instance.
static String SUB_HIERARCHY
           
static AbortScope SubHierarchy
          The process abort is performed starting from the sub process.
 
Method Summary
 
Methods inherited from class org.eclipse.stardust.common.StringKey
compareTo, equals, getId, getKey, getKey, getKeys, getKeys, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_HIERARCHY

public static final String ROOT_HIERARCHY
See Also:
Constant Field Values

SUB_HIERARCHY

public static final String SUB_HIERARCHY
See Also:
Constant Field Values

RootHierarchy

public static final AbortScope RootHierarchy
The process abort is performed starting from the root process instance. All activities in the hierarchy of the process instance which are not yet being terminated will be aborted. The process instance state after the process abort is Aborted.


SubHierarchy

public static final AbortScope SubHierarchy
The process abort is performed starting from the sub process. If the activity instance is not a sub process then the process continues in a way as if the activity is completed. This means for example that the process has the state Completed if the last activity of the process will be aborted. In the case that the activity is a sub process then the sub process hierarchy and the sub process themselves will be aborted but the process continues as usual.

The activity instance state which was given for the abort process is set to Aborted in all cases.



Copyright © 2017 Eclipse Stardust. All Rights Reserved.