Package org.gradle.api.problems
Interface Problems
-
@Incubating public interface Problems
Problems API service.The main purpose of this API is to allow clients to create, configure, and report problems in a centralized way.
Reported problems are exposed via build operation progress events, which then are converted to Tooling API progress events.
Clients should expect that in future Gradle versions the reported problems will appear in console messages, reports, etc.
- Since:
- 8.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProblemReporter
forNamespace(java.lang.String namespace)
Return a problem reporter associated with a plugin.
-
-
-
Method Detail
-
forNamespace
ProblemReporter forNamespace(java.lang.String namespace)
Return a problem reporter associated with a plugin.The namespace provides separation for identical problems emitted from different components (Gradle core and third-party plugins).
- Returns:
- The problem reporter.
- Since:
- 8.6
-
-