public interface CommandContainer<T> extends ChainCommand<T>, ProcessCommand<T>
Modifier and Type | Method and Description |
---|---|
CommandContainer<T> |
addCommand(Command<T> parameterObject)
Adds a
Command to the list. |
CommandContainer<T> |
addCommand(int priority,
Command<T> command)
Adds a
Command to the list via priority. |
Command<T> |
getCommandByProcessID(String processID)
Gets the command with the certain processID.
|
addTransition, executeAsProcess, executeAsProcess, findNext, getProcessID, getTransitionList, setProcessID
executeAsChain, executeCommandAsChain
execute, executeCommand
CommandContainer<T> addCommand(Command<T> parameterObject)
Command
to the list. Because a
CommandContainer
is a Command
you can add
CommandContainer
objects as well.parameterObject
- The command to add.CommandContainer<T> addCommand(int priority, Command<T> command)
Command
to the list via priority. Because a
CommandContainer
is a Command
you can add
CommandContainer
objects as well.priority
- A priority. If two commands has the same priority the first
wins.command
- The command to add.Copyright © 2017 neusta software development GmbH. All rights reserved.