Interface ConditionHandler

  • All Superinterfaces:
    ModuleHandler
    All Known Implementing Classes:
    BaseConditionModuleHandler

    @NonNullByDefault
    public interface ConditionHandler
    extends ModuleHandler
    This interface provides common functionality for processing Condition modules.
    Author:
    Yordan Mihaylov - Initial contribution, Ana Dimova - Initial contribution, Vasil Ilchev - Initial contribution
    See Also:
    ModuleHandler
    • Method Detail

      • isSatisfied

        boolean isSatisfied​(Map<String,​Object> context)
        Checks if the Condition is satisfied in the given context.
        Parameters:
        context - an unmodifiable map containing the outputs of the Trigger that triggered the Rule and the inputs of the Condition.
        Returns:
        true if Condition is satisfied, false otherwise.