@Immutable public class TaskCommands extends AbstractCommands
| Constructor and Description |
|---|
TaskCommands(List<String> commands)
Constructor.
|
TaskCommands(List<String> commands,
List<Parameter> parameters)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCommand()
Returns the command.
|
static TaskCommands |
merge(TaskCommands cmd1,
TaskCommands cmd2)
Merges two commands, the second one will be appended to the first.
|
getCommands, getMatchingCommand, getParameters, join, toStringpublic TaskCommands(List<String> commands)
commands - the command.public static TaskCommands merge(TaskCommands cmd1, TaskCommands cmd2)
cmd1 - cmd2 - Copyright © 2004-2014. All Rights Reserved.