Class SubProcessExecutor
- java.lang.Object
-
- jsl.modeling.elements.processview.description.ProcessExecutor
-
- jsl.modeling.elements.processview.description.SubProcessExecutor
-
public class SubProcessExecutor extends ProcessExecutor
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubProcessExecutor(ProcessExecutor mainExecutor, ProcessDescription processDescription, Entity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(int commandIndex)Starts the process executor executing at the command indicated by the commandIndex.voidterminate()Terminates the execution of the process executor-
Methods inherited from class jsl.modeling.elements.processview.description.ProcessExecutor
addAfterExecutionListener, addBeforeExecutionListener, createSubProcessExecutor, execute, getCurrentCommand, getCurrentCommandIndex, getCurrentEntity, getNextCommandIndex, getNumberOfCommands, initialize, isCreated, isExecuting, isInitialized, isSuspended, isTerminated, jumpTo, notifyAfterExecutionListeners, notifyBeforeExecutionListeners, removeAfterExecutionListener, removeBeforeExecutionListener, resume, resume, setCurrentCommandIndex, setState, start, suspend
-
-
-
-
Constructor Detail
-
SubProcessExecutor
protected SubProcessExecutor(ProcessExecutor mainExecutor, ProcessDescription processDescription, Entity entity)
- Parameters:
mainExecutor- the executorprocessDescription- the descriptionentity- the associated entity
-
-
Method Detail
-
start
public void start(int commandIndex)
Description copied from class:ProcessExecutorStarts the process executor executing at the command indicated by the commandIndex. Note: It is up to the user to ensure that the command is an appropriate location to start executing- Overrides:
startin classProcessExecutor- Parameters:
commandIndex- represents the index in the sequence of commands, index = 0, represents the first command
-
terminate
public void terminate()
Description copied from class:ProcessExecutorTerminates the execution of the process executor- Overrides:
terminatein classProcessExecutor
-
-