Interface TroubleMatcher

All Known Implementing Classes:
AndTroubleMatcher, ClassTroubleMatcher, ImpactedTroubleMatcher, LinkedTroubleMatcher

public interface TroubleMatcher
Interface for defining custom logic for matching troubles. Typically used in conjunction with a listener to only receive events for troubles that are of interest.
Since:
1.0
Version:
2022-09-17
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(Trouble trouble)
    Return true if the specified trouble matches the matcher logic.
  • Method Details

    • match

      boolean match(Trouble trouble)
      Return true if the specified trouble matches the matcher logic.
      Parameters:
      trouble - the trouble to check for a match