@Deprecated public interface ExecutableWithCommand<T extends Executable<T>> extends Executable
Interface for executables which uses commands.
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
cmdArgs(Iterable<?> args) Add more command-specific arguments. |
|
public void |
cmdArgs(Object args) Add more command-specific arguments. |
|
public T |
command(Object cmd) Set the command to use. |
|
public Provider<java.util.List<String>> |
getCmdArgs() Any arguments specific to the command in use |
|
public Provider<String> |
getCommand() The command used in this specification as a String. |
|
public T |
setCmdArgs(Iterable<?> args) Replace the command-specific arguments with a new set. |
|
public T |
setCommand(Object cmd) Set the command to use. |
Methods inherited from class | Name |
---|---|
interface Executable |
entrypoint, entrypoint, process, process, runnerSpec, runnerSpec |
Add more command-specific arguments.
args
- Additional list of argumentsAdd more command-specific arguments.
args
- Additional list of argumentsSet the command to use. THis provides a more DSL-friendly method.
cmd
- Anything that can be resolved via StringUtils.stringizethis
Any arguments specific to the command in use
The command used in this specification as a String.
Replace the command-specific arguments with a new set.
args
- New list of command-specific argumentsthis
Set the command to use.
cmd
- Anything that can be resolved via StringUtils.stringizethis