Package jadex.bpmn.runtime.impl
Class ExecuteProcessThread
java.lang.Object
jadex.bpmn.runtime.impl.ExecuteProcessThread
- All Implemented Interfaces:
jadex.core.IThrowingConsumer<jadex.core.IComponent>
public class ExecuteProcessThread
extends Object
implements jadex.core.IThrowingConsumer<jadex.core.IComponent>
Execute the next step of a process thread.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ProcessThread
The process thread.protected String
The thread id. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
thread
The process thread. -
threadid
The thread id. Needed for bpmn debugger.
-
-
Constructor Details
-
ExecuteProcessThread
Create a new step.- Parameters:
thread
- The thread.
-
-
Method Details
-
isValid
public boolean isValid()Test if the action is valid.- Returns:
- True, if action is valid.
-
accept
Execute the command.- Specified by:
accept
in interfacejadex.core.IThrowingConsumer<jadex.core.IComponent>
- Parameters:
args
- The argument(s) for the call.- Throws:
Exception
-
getThread
Get the thread.- Returns:
- The thread
-