Interface IProblemRequestor


public interface IProblemRequestor
A callback interface for receiving java problem as they are discovered by some Java operation.
Since:
2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notification of a Java problem.
    void
    Notification sent before starting the problem detection process.
    void
    Notification sent after having completed problem detection process.
    boolean
    Predicate allowing the problem requestor to signal whether or not it is currently interested by problem reports.
  • Method Details

    • acceptProblem

      void acceptProblem(IProblem problem)
      Notification of a Java problem.
      Parameters:
      problem - IProblem - The discovered Java problem.
    • beginReporting

      void beginReporting()
      Notification sent before starting the problem detection process. Typically, this would tell a problem collector to clear previously recorded problems.
    • endReporting

      void endReporting()
      Notification sent after having completed problem detection process. Typically, this would tell a problem collector that no more problems should be expected in this iteration.
    • isActive

      boolean isActive()
      Predicate allowing the problem requestor to signal whether or not it is currently interested by problem reports. When answering false, problem will not be discovered any more until the next iteration. This predicate will be invoked once prior to each problem detection iteration.
      Returns:
      boolean - indicates whether the requestor is currently interested by problems.