|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gradle.BuildResultLogger
public class BuildResultLogger
A BuildListener which logs the final result of the build.
| Constructor Summary | |
|---|---|
BuildResultLogger(Logger logger)
|
|
| Method Summary | |
|---|---|
void |
buildFinished(BuildResult result)
Called when the build is completed. |
void |
buildStarted(Gradle gradle)
Called when the build is started. |
void |
projectsEvaluated(Gradle gradle)
Called when all projects for the build have been evaluated. |
void |
projectsLoaded(Gradle gradle)
Called when the projects for the build have been created from the settings. |
void |
settingsEvaluated(Settings settings)
Called when the build settings have been loaded and evaluated. |
void |
taskGraphPopulated(TaskExecutionGraph graph)
Called when the task graph for the build has been populated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildResultLogger(Logger logger)
| Method Detail |
|---|
public void buildStarted(Gradle gradle)
BuildListenerCalled when the build is started.
buildStarted in interface BuildListenergradle - The build which is being started. Never null.public void settingsEvaluated(Settings settings)
BuildListenerCalled when the build settings have been loaded and evaluated. The settings object is fully configured and is ready to use to load the build projects.
settingsEvaluated in interface BuildListenersettings - The settings. Never null.public void projectsLoaded(Gradle gradle)
BuildListenerCalled when the projects for the build have been created from the settings. None of the projects have been evaluated.
projectsLoaded in interface BuildListenergradle - The build which has been loaded. Never null.public void projectsEvaluated(Gradle gradle)
BuildListenerCalled when all projects for the build have been evaluated. The project objects are fully configured and are ready to use to populate the task graph.
projectsEvaluated in interface BuildListenergradle - The build which has been evaluated. Never null.public void taskGraphPopulated(TaskExecutionGraph graph)
BuildListenerCalled when the task graph for the build has been populated. The task graph is fully configured and is ready to use to execute the tasks which make up the build.
taskGraphPopulated in interface BuildListenergraph - The task graph. Never null.public void buildFinished(BuildResult result)
BuildListenerCalled when the build is completed. All selected tasks have been executed.
buildFinished in interface BuildListenerresult - The result of the build. Never null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||