Interface ProblemContext
Describes a problem event.
 
Provides all details provided for problem events. The events are generated via the Problems API.
- Since:
- 8.8
- 
Method SummaryModifier and TypeMethodDescriptionReturns additional locations, which can help to understand the problem further.Returns the details string.Returns the failure associated with this problem.Returns the locations where the problem originated.Returns the list of solutions.
- 
Method Details- 
getDetailsReturns the details string.- Returns:
- the problem details
- Since:
- 8.8
 
- 
getOriginLocationsReturns the locations where the problem originated.Might be empty if the origin is not known. - Returns:
- the origin locations
- Since:
- 8.12
 
- 
getContextualLocationsReturns additional locations, which can help to understand the problem further.Might be empty if there is no meaningful contextual information. - Returns:
- the contextual locations
- Since:
- 8.12
 
- 
getSolutionsReturns the list of solutions.- Returns:
- the solutions
- Since:
- 8.8
 
- 
getFailureReturns the failure associated with this problem.
 nullif run against a Gradle version prior to 8.7- Returns:
- the failure
- Since:
- 8.8
 
 
-