Interface SingleProblemEvent
-
- All Superinterfaces:
ProblemEvent,ProgressEvent
@Incubating public interface SingleProblemEvent extends ProblemEvent
ProblemEvent with all the details relevant.- Since:
- 8.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProblemCategorygetCategory()Returns the problem category.DetailsgetDetails()Returns the details string.DocumentationLinkgetDocumentationLink()Returns the link to the documentationFailureContainergetFailure()Returns the failure associated with this problem.LabelgetLabel()Returns the problem label.java.util.List<Location>getLocations()Returns the locations associated with this problem.SeveritygetSeverity()Returns the problem severity.java.util.List<Solution>getSolutions()Returns the list of solutions.-
Methods inherited from interface org.gradle.tooling.events.ProgressEvent
getDescriptor, getDisplayName, getEventTime
-
-
-
-
Method Detail
-
getCategory
ProblemCategory getCategory()
Returns the problem category.- Returns:
- the problem category
- Since:
- 8.8
-
getLabel
Label getLabel()
Returns the problem label.- Returns:
- the problem label
- Since:
- 8.8
-
getDetails
Details getDetails()
Returns the details string.- Returns:
- the problem details
- Since:
- 8.8
-
getSeverity
Severity getSeverity()
Returns the problem severity.- Returns:
- the problem severity
- Since:
- 8.8
-
getLocations
java.util.List<Location> getLocations()
Returns the locations associated with this problem.- Returns:
- the locations
- Since:
- 8.8
-
getDocumentationLink
DocumentationLink getDocumentationLink()
Returns the link to the documentation- Returns:
- the locations
- Since:
- 8.8
-
getSolutions
java.util.List<Solution> getSolutions()
Returns the list of solutions.- Returns:
- the solutions
- Since:
- 8.8
-
getFailure
@Nullable FailureContainer getFailure()
Returns the failure associated with this problem.
nullif run against a Gradle version prior to 8.8- Returns:
- the failure
- Since:
- 8.8
-
-