org.gradle
Class BuildResultLogger
java.lang.Object
org.gradle.BuildAdapter
org.gradle.BuildResultLogger
- All Implemented Interfaces:
- BuildListener
public class BuildResultLogger
- extends BuildAdapter
A BuildListener
which logs the final result of the build.
Constructor Summary |
BuildResultLogger(org.gradle.logging.StyledTextOutputFactory textOutputFactory,
org.gradle.util.Clock buildTimeClock)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildResultLogger
public BuildResultLogger(org.gradle.logging.StyledTextOutputFactory textOutputFactory,
org.gradle.util.Clock buildTimeClock)
buildFinished
public void buildFinished(BuildResult result)
- Description copied from interface:
BuildListener
Called when the build is completed. All selected tasks have been executed.
- Specified by:
buildFinished
in interface BuildListener
- Overrides:
buildFinished
in class BuildAdapter
- Parameters:
result
- The result of the build. Never null.