org.deduced.controller.rule
Class CollectionIsDeleteAvailableRule

java.lang.Object
  extended by org.deduced.controller.rule.CollectionIsDeleteAvailableRule
All Implemented Interfaces:
DeductionRuleAnalyzer<java.lang.Boolean>

public class CollectionIsDeleteAvailableRule
extends java.lang.Object
implements DeductionRuleAnalyzer<java.lang.Boolean>

Rule to set the "is delete available" flag on a property collection controller.

Author:
Steve McDuff

Constructor Summary
CollectionIsDeleteAvailableRule()
           
 
Method Summary
 java.lang.Boolean analyzeRule(java.lang.Object[] inputs, RuleExecutionContext context, PropertyCollection collection, PropertyCollection rule)
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionIsDeleteAvailableRule

public CollectionIsDeleteAvailableRule()
Method Detail

analyzeRule

public java.lang.Boolean analyzeRule(java.lang.Object[] inputs,
                                     RuleExecutionContext context,
                                     PropertyCollection collection,
                                     PropertyCollection rule)
(non-Javadoc)

Specified by:
analyzeRule in interface DeductionRuleAnalyzer<java.lang.Boolean>
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
See Also:
DeductionRuleAnalyzer.analyzeRule(java.lang.Object[], org.deduced.RuleExecutionContext, org.deduced.PropertyCollection, org.deduced.PropertyCollection)