org.deduced
Interface DeductionRuleAnalyzer<E>
- Type Parameters:
E - the type of object returned after executing the rule
- All Known Implementing Classes:
- AlwaysFalseRule, AlwaysTrueRule, CollectionIsAddAvailableRule, CollectionIsDeleteAvailableRule, CopyFirstParameterRule, DeductionRuleLibrary, IsCreateTypeValidRule, IsNullableValidRule, IsNumberValidRule, IsReferenceTypeValidRule, IsStringValidRule, PropertyIsChangeableRule, PropertyIsRemoveableRule, SetIsValidBasedOnErrorMessageRule
public interface DeductionRuleAnalyzer<E>
DeductionRuleAnalyzer is the interface implemented by all the rule analyzers
- Author:
- Steve McDuff
analyzeRule
E analyzeRule(java.lang.Object[] inputs,
RuleExecutionContext context,
PropertyCollection<?,?> collection,
PropertyCollection<?,?> rule)
- run a deduction rule
- Parameters:
inputs - the array of inputscontext - the rule execution contextcollection - the collection on which the rule is executedrule - the rule being executed
- Returns:
- the rule result