Schnittstelle Problem


@Incubating public interface Problem
A problem report
Seit:
8.12
  • Methodendetails

    • getDefinition

      ProblemDefinition getDefinition()
      Returns the problem definition.
      Gibt zurück:
      the definition
      Seit:
      8.12
    • getContextualLabel

      ContextualLabel getContextualLabel()
      Returns the contextual label.
      Gibt zurück:
      the problem label
      Seit:
      8.12
    • getDetails

      Details getDetails()
      Returns the details string.
      Gibt zurück:
      the problem details
      Seit:
      8.12
    • getOriginLocations

      List<Location> getOriginLocations()
      Returns the locations where the problem originated.
      Gibt zurück:
      the locations
      Seit:
      8.13
    • getContextualLocations

      List<Location> getContextualLocations()
      Returns additional locations, which can help to understand the problem further.

      For example, if a problem was emitted during task execution, the task path will be available in this list.

      Might be empty if there is no meaningful contextual information.

      Gibt zurück:
      the locations
      Seit:
      8.13
    • getSolutions

      List<Solution> getSolutions()
      Returns the list of solutions.
      Gibt zurück:
      the solutions
      Seit:
      8.12
    • getFailure

      @Nullable Failure getFailure()
      Returns the failure associated with this problem.
      Gibt zurück:
      the failure
      Seit:
      8.12
    • getAdditionalData

      AdditionalData getAdditionalData()
      Returns the additional data associated with this problem. There are 2 possible types for additional data: to determine the type of additional data instanceof can be used.
      Gibt zurück:
      the additional data
      Seit:
      8.12