org.kuali.rice.kew.rule
Class HierarchicalNamedRuleSelector
java.lang.Object
org.kuali.rice.kew.rule.NamedRuleSelector
org.kuali.rice.kew.rule.HierarchicalNamedRuleSelector
- All Implemented Interfaces:
- RuleSelector
public class HierarchicalNamedRuleSelector
- extends NamedRuleSelector
Derives the rule name to select based on node instance state configured by a governing
HierarchyRoutingNode and the HierarchyRoutingNode name. E.g.:
<dynamic name="hierarchy">
<type>org.kuali.rice.kew.engine.node.hierarchyrouting.HierarchyRoutingNode</type>
<hierarchyProvider>org.kuali.rice.kew.engine.node.hierarchyrouting.SimpleHierarchyProvider</hierarchyProvider>
<ruleSelector>HierarchicalNamed</ruleSelector>
</dynamic>
If org.kuali.rice.kew.engine.node.hierarchyrouting.SimpleHierarchyProvider
supplied stops named 'a', 'b', and 'c', the rules
selected would be 'hierarchy-a', 'hierarchy-b', and 'hierarchy-c', respectively.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HierarchicalNamedRuleSelector
public HierarchicalNamedRuleSelector()
getName
protected String getName(RouteContext context,
DocumentRouteHeaderValue routeHeader,
RouteNodeInstance nodeInstance,
String selectionCriterion,
Timestamp effectiveDate)
- Overrides:
getName
in class NamedRuleSelector
- Returns:
- the name of the rule that should be selected
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.