public interface ProcessCommand<T> extends ChainCommand<T>
Modifier and Type | Method and Description |
---|---|
default void |
addTransition(Transition transition) |
String |
executeAsProcess(String startCommand,
T context)
Execute a command as a process.
|
String |
executeAsProcess(T context)
Execute a command as a process.
|
default String |
findNext(String next)
Finds the next command with the processID next.
|
String |
getProcessID()
Gets the process ID of the command.
|
default List<Transition> |
getTransitionList() |
void |
setProcessID(String processID)
Sets the process ID of the command
|
executeAsChain, executeCommandAsChain
execute, executeCommand
default void addTransition(Transition transition)
String executeAsProcess(String startCommand, T context)
startCommand
- The command the process should start with.context
- The context to work with.String executeAsProcess(T context)
context
- The context to work with.default String findNext(String next)
next
- The process id to find.String getProcessID()
default List<Transition> getTransitionList()
void setProcessID(String processID)
processID
- Sets the process id of this process command.Copyright © 2017 neusta software development GmbH. All rights reserved.