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

Method Summary
 E analyzeRule(java.lang.Object[] inputs, RuleExecutionContext context, PropertyCollection<?,?> collection, PropertyCollection<?,?> rule)
          run a deduction rule
 

Method Detail

analyzeRule

E analyzeRule(java.lang.Object[] inputs,
              RuleExecutionContext context,
              PropertyCollection<?,?> collection,
              PropertyCollection<?,?> rule)
run a deduction rule

Parameters:
inputs - the array of inputs
context - the rule execution context
collection - the collection on which the rule is executed
rule - the rule being executed
Returns:
the rule result