|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.BuildExceptionReporter
public class BuildExceptionReporter
A BuildListener
which reports the build exception, if any.
Constructor Summary | |
---|---|
BuildExceptionReporter(org.slf4j.Logger logger)
|
Method Summary | |
---|---|
void |
buildFinished(BuildResult result)
Called when the build is completed. |
void |
buildStarted(StartParameter startParameter)
Called when the build is started. |
void |
projectsEvaluated(Build build)
Called when all projects for the build have been evaluated. |
void |
projectsLoaded(Build build)
Called when the projects for the build have been created from the settings. |
void |
reportInternalError(java.lang.Throwable failure)
|
void |
setStartParameter(StartParameter startParameter)
|
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 BuildExceptionReporter(org.slf4j.Logger logger)
Method Detail |
---|
public void setStartParameter(StartParameter startParameter)
public void buildStarted(StartParameter startParameter)
BuildListener
Called when the build is started.
buildStarted
in interface BuildListener
startParameter
- The StartParameter
used to create the Gradle instance. 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(Build build)
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
build
- The build which has been loaded. Never null.public void projectsEvaluated(Build build)
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
build
- The build which has been evaluated. Never null.public void taskGraphPopulated(TaskExecutionGraph graph)
BuildListener
Called 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 BuildListener
graph
- The task 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.public void reportInternalError(java.lang.Throwable failure)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |