public class BuildAdapter extends Object implements BuildListener
BuildListener
adapter class for receiving build events. The methods in this class are empty. This class
exists as convenience for creating listener objects.コンストラクタと説明 |
---|
BuildAdapter() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
buildFinished(BuildResult result)
Called when the build is completed.
|
void |
buildStarted(Gradle gradle)
Called when the build is started.
|
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.
|
public void buildStarted(Gradle gradle)
BuildListener
Called when the build is started.
buildStarted
インタフェース内 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
インタフェース内 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
インタフェース内 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
インタフェース内 BuildListener
gradle
- The build which has been evaluated. Never null.public void buildFinished(BuildResult result)
BuildListener
Called when the build is completed. All selected tasks have been executed.
buildFinished
インタフェース内 BuildListener
result
- The result of the build. Never null.