public abstract class AbstractDefaultProcessCommand<T> extends AbstractDefaultChainCommand<T> implements ProcessCommand<T>
executeAsProcess
for all executions of the command
or
commandContainer
.Modifier and Type | Field and Description |
---|---|
protected String |
processID |
protected List<Transition> |
transitionList |
Constructor and Description |
---|
AbstractDefaultProcessCommand()
Default constructor
|
AbstractDefaultProcessCommand(String processID)
Constructor with process ID
|
Modifier and Type | Method and Description |
---|---|
void |
addTransition(Transition transition) |
String |
findNext(String next)
Finds the next command with the processID next.
|
String |
getProcessID()
Gets the process ID of the command.
|
List<Transition> |
getTransitionList() |
void |
setProcessID(String processID)
Sets the process ID of the command
|
execute, executeAsChain, executeCommand, executeCommandAsChain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeAsProcess, executeAsProcess
executeAsChain, executeCommandAsChain
execute, executeCommand
protected String processID
protected List<Transition> transitionList
public AbstractDefaultProcessCommand()
public AbstractDefaultProcessCommand(String processID)
processID
- The process id for this command.public void addTransition(Transition transition)
addTransition
in interface ProcessCommand<T>
ProcessCommand.addTransition(org.mwolff.command.process.Transition)
public String findNext(String next)
ProcessCommand
findNext
in interface ProcessCommand<T>
next
- The process id to find.ProcessCommand.findNext(java.lang.String)
public String getProcessID()
ProcessCommand
getProcessID
in interface ProcessCommand<T>
ProcessCommand.getProcessID()
public List<Transition> getTransitionList()
getTransitionList
in interface ProcessCommand<T>
ProcessCommand.getTransitionList()
public void setProcessID(String processID)
ProcessCommand
setProcessID
in interface ProcessCommand<T>
processID
- Sets the process id of this process command.ProcessCommand.setProcessID(java.lang.String)
Copyright © 2017 neusta software development GmbH. All rights reserved.