Added opton to add a List via the command method
This commit is contained in:
parent
9843cfeb6b
commit
193c791408
6 changed files with 44 additions and 8 deletions
|
@ -54,6 +54,16 @@ public class ExecOperation extends AbstractOperation<ExecOperation> {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the command and arguments to be executed.
|
||||
*
|
||||
* @see #command(String...)
|
||||
*/
|
||||
public ExecOperation command(List<String> args) {
|
||||
args_.addAll(args);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the command.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue