org.eclipse.stardust.engine.api.model
Class SubProcessModeKey

java.lang.Object
  extended by org.eclipse.stardust.common.StringKey
      extended by org.eclipse.stardust.engine.api.model.SubProcessModeKey
All Implemented Interfaces:
Serializable, Comparable

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

Enumeration of possible subprocess execution modes.

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

Field Summary
static SubProcessModeKey ASYNC_SEPARATE
          Subprocesses will be executed asynchronously, means the calling activity will just trigger the subprocess and then continue.
static SubProcessModeKey SYNC_SEPARATE
          Subprocesses will be executed synchronously, means the calling activity will wait for subprocess completion.
static SubProcessModeKey SYNC_SHARED
          Subprocesses will be executed synchronously, means the calling activity will wait for subprocess completion.
 
Method Summary
static SubProcessModeKey getKey(String id)
          Obtain a key instance from an ID.
 
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

SYNC_SHARED

public static final SubProcessModeKey SYNC_SHARED
Subprocesses will be executed synchronously, means the calling activity will wait for subprocess completion. The subprocess will operate in the calling process's data space.


SYNC_SEPARATE

public static final SubProcessModeKey SYNC_SEPARATE
Subprocesses will be executed synchronously, means the calling activity will wait for subprocess completion. The subprocess will operate in its own independent data space. Dependent to the flag "CopyAllData" this data space will initially contain a full copy of data available to the triggering activity or by defined data mappings.


ASYNC_SEPARATE

public static final SubProcessModeKey ASYNC_SEPARATE
Subprocesses will be executed asynchronously, means the calling activity will just trigger the subprocess and then continue. The subprocess will operate in its own independent data space, which will initially contain a full copy of data available to the triggering activity.

Method Detail

getKey

public static SubProcessModeKey getKey(String id)
Obtain a key instance from an ID.

Parameters:
id - The ID of the key to be retrieved.
Returns:
The appropriate key, or null if the ID was invalid.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.