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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasRuleAction(SourceRuleModel rule, java.lang.String actionDefinitionId)
Check if given action definition is present in a source ruleboolean
hasRuleCondition(SourceRuleModel rule, java.lang.String conditionDefinitionId)
Check if given condition definition is present in a source rule
-
-
-
Method Detail
-
hasRuleCondition
boolean hasRuleCondition(SourceRuleModel rule, java.lang.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, java.lang.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
-
-