Package org.gradle.api.problems
Schnittstelle 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.
- Seit:
- 8.13
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungA link to the documentation for this problem.getId()The problem id.Problem severity.
-
Methodendetails
-
getId
ProblemId getId()The problem id.- Seit:
- 8.13
-
getSeverity
Severity 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.
- Seit:
- 8.13
-
getDocumentationLink
A link to the documentation for this problem.- Seit:
- 8.13
-