|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.combine.CombiningAlgorithm
public abstract class CombiningAlgorithm
The base type for all combining algorithms. It provides one method that must be implemented.
Constructor Summary | |
---|---|
CombiningAlgorithm(URI identifier)
Constructor that takes the algorithm's identifier. |
Method Summary | |
---|---|
abstract AbstractResult |
combine(EvaluationCtx context,
List parameters,
List inputs)
Combines the results of the inputs based on the context to produce some unified result. |
URI |
getIdentifier()
Returns the identifier for this algorithm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CombiningAlgorithm(URI identifier)
identifier
- the algorithm's identifierMethod Detail |
---|
public abstract AbstractResult combine(EvaluationCtx context, List parameters, List inputs)
context
- the representation of the requestparameters
- a (possibly empty) non-null List
of
CombinerParameters provided for general
use (for all pre-2.0 policies this must be empty)inputs
- a List
of CombinerElements
s to evaluate and combine
- Returns:
- a single unified result based on the combining logic
public URI getIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |