Package org.gradle
Class BuildAdapter
- java.lang.Object
-
- org.gradle.BuildAdapter
-
- All Implemented Interfaces:
BuildListener
public class BuildAdapter extends Object implements BuildListener
ABuildListeneradapter class for receiving build events. The methods in this class are empty. This class exists as convenience for creating listener objects.
-
-
Constructor Summary
Constructors Constructor Description BuildAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildFinished(BuildResult result)Called when the build is completed.voidbuildStarted(Gradle gradle)Called when the build is started.voidprojectsEvaluated(Gradle gradle)Called when all projects for the build have been evaluated.voidprojectsLoaded(Gradle gradle)Called when the projects for the build have been created from the settings.voidsettingsEvaluated(Settings settings)Called when the build settings have been loaded and evaluated.
-
-
-
Method Detail
-
buildStarted
public void buildStarted(Gradle gradle)
Description copied from interface:BuildListenerCalled when the build is started.
- Specified by:
buildStartedin interfaceBuildListener- Parameters:
gradle- The build which is being started. Never null.
-
settingsEvaluated
public void settingsEvaluated(Settings settings)
Description copied from interface: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.
- Specified by:
settingsEvaluatedin interfaceBuildListener- Parameters:
settings- The settings. Never null.
-
projectsLoaded
public void projectsLoaded(Gradle gradle)
Description copied from interface:BuildListenerCalled when the projects for the build have been created from the settings. None of the projects have been evaluated.
- Specified by:
projectsLoadedin interfaceBuildListener- Parameters:
gradle- The build which has been loaded. Never null.
-
projectsEvaluated
public void projectsEvaluated(Gradle gradle)
Description copied from interface: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.
- Specified by:
projectsEvaluatedin interfaceBuildListener- Parameters:
gradle- The build which has been evaluated. Never null.
-
buildFinished
public void buildFinished(BuildResult result)
Description copied from interface:BuildListenerCalled when the build is completed. All selected tasks have been executed.
- Specified by:
buildFinishedin interfaceBuildListener- Parameters:
result- The result of the build. Never null.
-
-