Class DefaultDetectThreatStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isThreat​(FAtiMA.Core.conditions.Condition c1, FAtiMA.Core.conditions.Condition c2)
      Checks if a given condition c1 threatens another condition c2
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDetectThreatStrategy

        public DefaultDetectThreatStrategy()
    • Method Detail

      • isThreat

        public boolean isThreat​(FAtiMA.Core.conditions.Condition c1,
                                FAtiMA.Core.conditions.Condition c2)
        Description copied from interface: IDetectThreatStrategy
        Checks if a given condition c1 threatens another condition c2
        Specified by:
        isThreat in interface IDetectThreatStrategy
        Parameters:
        c1 - - the condition that we want to check for threat
        c2 - - a possible threatened condition
        Returns:
        true if condition c1 threatens condition c2