|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.BuildLogger
public class BuildLogger
A BuildListener
which logs the build progress.
Constructor Summary | |
---|---|
BuildLogger(Logger logger,
org.gradle.logging.StyledTextOutputFactory textOutputFactory,
StartParameter startParameter,
org.gradle.initialization.BuildRequestMetaData requestMetaData)
|
Method Summary | |
---|---|
void |
buildFinished(BuildResult result)
Called when the build is completed. |
void |
buildStarted(Gradle gradle)
Called when the build is started. |
void |
graphPopulated(TaskExecutionGraph graph)
This method is called when the TaskExecutionGraph has been populated, and before any tasks are
executed. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildLogger(Logger logger, org.gradle.logging.StyledTextOutputFactory textOutputFactory, StartParameter startParameter, org.gradle.initialization.BuildRequestMetaData requestMetaData)
Method Detail |
---|
public void buildStarted(Gradle gradle)
BuildListener
Called when the build is started.
buildStarted
in interface BuildListener
gradle
- The build which is being started. Never null.public void settingsEvaluated(Settings settings)
BuildListener
Called 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 BuildListener
settings
- The settings. Never null.public void projectsLoaded(Gradle gradle)
BuildListener
Called when the projects for the build have been created from the settings. None of the projects have been evaluated.
projectsLoaded
in interface BuildListener
gradle
- The build which has been loaded. Never null.public void projectsEvaluated(Gradle gradle)
BuildListener
Called 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 BuildListener
gradle
- The build which has been evaluated. Never null.public void graphPopulated(TaskExecutionGraph graph)
TaskExecutionGraphListener
This method is called when the TaskExecutionGraph
has been populated, and before any tasks are
executed.
graphPopulated
in interface TaskExecutionGraphListener
graph
- The graph. Never null.public void buildFinished(BuildResult result)
BuildListener
Called when the build is completed. All selected tasks have been executed.
buildFinished
in interface BuildListener
result
- The result of the build. Never null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |