Interface IDetectThreatStrategy

    • Method Detail

      • isThreat

        boolean isThreat​(Condition c1,
                         Condition c2)
        Checks if a given condition c1 threatens another condition c2
        Parameters:
        c1 - - the condition that we want to check for threat
        c2 - - a possible threatened condition
        Returns:
        true if condition c1 threatens condition c2