Package org.gradle.tooling
package org.gradle.tooling
The main interfaces and classes of the Gradle tooling API.
-
ClassDescriptionBuildAction<T>An action that executes against a Gradle build and produces a result of type
T.Used to execute aBuildActionin the build process.Thrown when aBuildActionfails.Thrown when aLongRunningOperationis cancelled before the operation completes.Provides aBuildActionvarious ways to control a Gradle build and access information about the build.Thrown when a Gradle build fails or when a model cannot be built.ABuildLauncherallows you to configure and execute a Gradle build.Token that propagates notification that an operation should be cancelled.ACancellationTokenSourceallows you to issue cancellation requests to one or moreLongRunningOperationinstances.ConfigurableLauncher<T extends ConfigurableLauncher>AConfigurableLauncherallows you to configure a long running operation.Represents a failure.Thrown when there is some problem using a Gradle connection.AGradleConnectoris the main entry point to the Gradle tooling API.Thrown whenever a listener fails with an exception, which in general implies that the build completed like it should, but that one of the listeners failed with an exception.Offers ways to communicate both ways with a Gradle operation, be it building a model or running tasks.ModelBuilder<T>AModelBuilderallows you to fetch a snapshot of some model for a project or a build.Some information about a piece of work of a long running operation.A listener which is notified as some long running operation makes progress.Represents a long-lived connection to a Gradle project.A handler for an asynchronous operation which returns an object of type T.Thrown when theTestLaunchercannot run tests, or when one or more tests fail.ATestLauncherallows you to execute tests in a Gradle build.Thrown when the client is trying to acquire a model that is unknown to the Tooling API.Thrown when the target Gradle version does not support a particular feature.