public class FirstApplicableRuleAlg extends RuleCombiningAlgorithm
Modifier and Type | Field and Description |
---|---|
static String |
algId
The standard URN used to identify this algorithm
|
Constructor and Description |
---|
FirstApplicableRuleAlg()
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
AbstractResult |
combine(EvaluationCtx context,
List parameters,
List ruleElements)
Applies the combining rule to the set of rules based on the evaluation context.
|
getIdentifier
public static final String algId
public AbstractResult combine(EvaluationCtx context, List parameters, List ruleElements)
combine
in class RuleCombiningAlgorithm
context
- the context from the requestparameters
- a (possibly empty) non-null List
of
CombinerParameters
ruleElements
- the rules to combineCopyright © 2016 WSO2. All rights reserved.