Added opton to add a List via the command method

This commit is contained in:
Erik C. Thauvin 2023-08-27 16:46:47 -07:00
parent 9843cfeb6b
commit 193c791408
6 changed files with 44 additions and 8 deletions

View file

@ -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.
*/