public HashMap<ConditionalInterface, HashSet<ConditionalInterface>> getHBConditions() {
return this.hbConditions;
}
+
+ /**
+ * Check if the conditional interface is in the HB checking list
+ * @param condInterface
+ * @return
+ */
+ public boolean containsConditionalInterface(ConditionalInterface condInterface) {
+ if (hbConditions.containsKey(condInterface))
+ return true;
+ for (ConditionalInterface key : hbConditions.keySet()) {
+ if (hbConditions.get(key).contains(condInterface))
+ return true;
+ }
+ return false;
+ }
public String getOption(String key) {
return options.get(key);