Interface RuleActionValidator
-
- All Known Implementing Classes:
RuleExecutableActionTranslator
public interface RuleActionValidatorImplementations of this interface are responsible for validating a rule action. Information on compilation problems is held in contextRuleCompilerContext.If a compilation error occurs, creating and adding it to a context should normally use the following pattern:
final RuleCompilerProblem ruleCompilerProblem = ruleCompilerProblemFactory.createProblem(Severity.ERROR, errorMessage); context.addProblem(ruleCompilerProblem);
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition)Validates a rule action.
-
-
-
Method Detail
-
validate
void validate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition)
Validates a rule action.- Parameters:
context- - the compiler contextaction- - the actionactionDefinition- - the action definition
-
-