Interface SourceRuleInspector

All Known Implementing Classes:
DefaultSourceRuleInspector

public interface SourceRuleInspector
Allows a source rule inspection by checking if a condition or an action definition is present for a given rule
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasRuleAction(SourceRuleModel rule, String actionDefinitionId)
    Check if given action definition is present in a source rule
    boolean
    hasRuleCondition(SourceRuleModel rule, String conditionDefinitionId)
    Check if given condition definition is present in a source rule
  • Method Details

    • hasRuleCondition

      boolean hasRuleCondition(SourceRuleModel rule, String conditionDefinitionId)
      Check if given condition definition is present in a source rule
      Parameters:
      rule -
      conditionDefinitionId -
      Returns:
      true if the condition defintion is present otherwise false
    • hasRuleAction

      boolean hasRuleAction(SourceRuleModel rule, String actionDefinitionId)
      Check if given action definition is present in a source rule
      Parameters:
      rule -
      actionDefinitionId -
      Returns:
      true if the action defintion is present otherwise false