| java.lang.Object org.obe.util.AbstractEnum org.obe.xpdl.model.ext.ToolMode
ToolMode | final public class ToolMode extends AbstractEnum (Code) | | The ToolMode is used to indicate whether the tools in a tool set should be
executed sequentially or in parallel. The default is SEQUENTIAL. This
attribute is not described in the XPDL specification, but its predecessor
WPDL states
that the workflow engine creates one work item per tool, and that execution
flow between these work items (and thus the invocation order of the tools)
can be controlled in a vendor-specific manner. The WPDL spec. does suggest
SEQUENTIAL or PARALLEL modes, and states that the default is SEQUENTIAL
(curious that the spec. defines the default for a vendor-specific attribute?).
author: Adrian Price |
Method Summary | |
public List | family() | public static ToolMode | valueOf(String tag) Converts the specified string to a ToolMode object.
Parameters: tag - The string, one of: SEQUENTIAL or PARALLEL. |
PARALLEL | final public static ToolMode PARALLEL(Code) | | ExecutionType representing parallel tool invocation.
|
PARALLEL_INT | final public static int PARALLEL_INT(Code) | | |
SEQUENTIAL | final public static ToolMode SEQUENTIAL(Code) | | ExecutionType representing sequential tool invocation.
|
SEQUENTIAL_INT | final public static int SEQUENTIAL_INT(Code) | | |
valueOf | public static ToolMode valueOf(String tag)(Code) | | Converts the specified string to a ToolMode object.
Parameters: tag - The string, one of: SEQUENTIAL or PARALLEL. The ToolMode object throws: IllegalArgumentException - if the tag parameter isinvalid. |
|
|