public interface GradleLauncherAction<T>
GradleLauncher, and optionally produces a ?result? object (e.g. the output).
Implementations of this are typically composed to bootstrap a build in a certain environment.
ExecuteBuildAction,
BuildModelAction| Modifier and Type | Method and Description |
|---|---|
T |
getResult()
Something produced by the action, the meaning of which is entirely up to the implementation to define.
|
BuildResult |
run(GradleLauncher launcher)
Executes the action with the given launcher.
|
T getResult()
BuildResult run(GradleLauncher launcher)
The state of the launcher is not defined as part of this contract, it is highly context specific. For example, it is not guaranteed that the start parameter for the launcher has been configured.
Copyright © 2013. All rights reserved