Package org.gradle.api.problems
Interface ProblemDefinition
Describes a specific problem without context.
 
For example, in the domain of Java compilation problems, an unused variable warning could be described as such:
- group: compilation:java
- unused variable
- severity: WARNING
- ...
The category and the label uniquely identify the problem definition, the remaining fields only supply additional information.
- Since:
- 8.13
- 
Method SummaryModifier and TypeMethodDescriptionA link to the documentation for this problem.getId()The problem id.Problem severity.
- 
Method Details- 
getIdProblemId getId()The problem id.- Since:
- 8.13
 
- 
getSeveritySeverity getSeverity()Problem severity.The severity of a problem is a hint to the user about how important the problem is. ERROR will fail the build, WARNING will not. - Since:
- 8.13
 
- 
getDocumentationLinkA link to the documentation for this problem.- Since:
- 8.13
 
 
-