public interface ProvisionedExecMethods<E extends AbstractExecSpec<E>> extends ConfigCacheSafeExecMethods, ExecMethods
Implements the exec methods from ExecMethods, leaving it to the plugin author to
Expects that the class implementing the interface can supply an instance of ProjectOperations
.E - Execution specification which must extend AbstractExecSpec.| Type Params | Return Type | Name and description |
|---|---|---|
|
public E |
createExecSpec()Create execution specification. |
|
public ExecOutput |
exec(E spec)Executes an existing execution specification and forwards output to console. |
|
public ExecOutput |
exec(OutputType standardOutput, OutputType standardError, E spec)Controls what happens to the output of the execution specification. |
|
public ExecOutput |
exec(OutputType standardOutput, OutputType standardError, Action<E> specConfigurator)Controls what happens to the output of the execution specification. |
|
public ExecOutput |
exec(groovy.lang.Closure<?> specConfigurator)Creates an execution specification, configures it by Groovy closure and then executes it. |
|
public ExecOutput |
exec(OutputType standardOutput, OutputType standardError, groovy.lang.Closure<?> specConfigurator)Controls what happens to the output of the execution specification. |
| Methods inherited from class | Name |
|---|---|
interface ConfigCacheSafeExecMethods |
exec, from, getConfigCacheSafeOperations |
interface ExecMethods |
exec, exec, exec, exec |
Create execution specification.
Executes an existing execution specification and forwards output to console.
spec - Specification to execute.Controls what happens to the output of the execution specification.
standardOutput - What to do with standard output.standardError - What to do with standard error.spec - Specification to executeControls what happens to the output of the execution specification.
standardOutput - What to do with standard output.standardError - What toi do with standard error.specConfigurator - Specification configurator.Creates an execution specification, configures it by Groovy closure and then executes it.
specConfigurator - Configurating closure.Controls what happens to the output of the execution specification.
standardOutput - What to do with standard output.standardError - What toi do with standard error.specConfigurator - Specification configurator.