@Deprecated public class BuildLogger extends Object implements BuildListener, TaskExecutionGraphListener
BuildListener which logs the build progress.| Constructor and Description |
|---|
BuildLogger(Logger logger,
org.gradle.internal.logging.text.StyledTextOutputFactory textOutputFactory,
StartParameter startParameter,
org.gradle.initialization.BuildRequestMetaData requestMetaData)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildFinished(BuildResult result)
Deprecated.
Called when the build is completed.
|
void |
buildStarted(Gradle gradle)
Deprecated.
Called when the build is started.
|
void |
graphPopulated(TaskExecutionGraph graph)
Deprecated.
This method is called when the
TaskExecutionGraph has been populated, and before any tasks are
executed. |
void |
projectsEvaluated(Gradle gradle)
Deprecated.
Called when all projects for the build have been evaluated.
|
void |
projectsLoaded(Gradle gradle)
Deprecated.
Called when the projects for the build have been created from the settings.
|
void |
settingsEvaluated(Settings settings)
Deprecated.
Called when the build settings have been loaded and evaluated.
|
public BuildLogger(Logger logger, org.gradle.internal.logging.text.StyledTextOutputFactory textOutputFactory, StartParameter startParameter, org.gradle.initialization.BuildRequestMetaData requestMetaData)
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 graphPopulated(TaskExecutionGraph graph)
TaskExecutionGraphListenerThis method is called when the TaskExecutionGraph has been populated, and before any tasks are
executed.
graphPopulated in interface TaskExecutionGraphListenergraph - The 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.