public class DefaultEndCommand extends AbstractDefaultProcessCommand<GenericParameterObject>
processID, transitionList
Constructor and Description |
---|
DefaultEndCommand() |
Modifier and Type | Method and Description |
---|---|
void |
execute(GenericParameterObject context)
Executes the command.
|
String |
executeAsProcess(GenericParameterObject context)
Execute a command as a process.
|
String |
executeAsProcess(String startCommand,
GenericParameterObject context)
Execute a command as a process.
|
addTransition, findNext, getProcessID, getTransitionList, setProcessID
executeAsChain, executeCommand, executeCommandAsChain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeAsChain, executeCommandAsChain
executeCommand
public String executeAsProcess(String startCommand, GenericParameterObject context)
ProcessCommand
startCommand
- The command the process should start with.context
- The context to work with.public String executeAsProcess(GenericParameterObject context)
ProcessCommand
context
- The context to work with.public void execute(GenericParameterObject context)
Command
execute
in interface Command<GenericParameterObject>
execute
in class AbstractDefaultChainCommand<GenericParameterObject>
context
- The parameter object to pass.Command.execute(java.lang.Object)
Copyright © 2017 neusta software development GmbH. All rights reserved.