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 TypeMethodDescriptionbooleanhasRuleAction(SourceRuleModel rule, String actionDefinitionId) Check if given action definition is present in a source rulebooleanhasRuleCondition(SourceRuleModel rule, String conditionDefinitionId) Check if given condition definition is present in a source rule
-
Method Details
-
hasRuleCondition
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
Check if given action definition is present in a source rule- Parameters:
rule-actionDefinitionId-- Returns:
- true if the action defintion is present otherwise false
-