public class BuildModelAction extends Object implements GradleLauncherAction<ProjectVersion3>
| Constructor and Description |
|---|
BuildModelAction(Class<? extends ProjectVersion3> type) |
| Modifier and Type | Method and Description |
|---|---|
ProjectVersion3 |
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.
|
public BuildModelAction(Class<? extends ProjectVersion3> type)
public BuildResult run(GradleLauncher launcher)
GradleLauncherActionThe 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.
run in interface GradleLauncherAction<ProjectVersion3>public ProjectVersion3 getResult()
GradleLauncherActiongetResult in interface GradleLauncherAction<ProjectVersion3>Copyright © 2013. All rights reserved