RETURN_T
- call's return type (typically the same as the internal function's)public interface FunctionCall<RETURN_T extends Value>
BaseFunction
. This is quite similar to XACML Apply except it does not include the Description field; and arguments are optimized
specifically for each function by extending this class accordinly, therefore they might be quite different from original input Expressions of the Apply. In particular, if some expressions are
actually static values (e.g. AttributeValue, VariableReference to AttributeValue, function applied to static values...), these expressions might be pre-compiled/pre-evaluated. For instance, a
static regex parameter to regexp-match function may be pre-compiled to a regex for re-use.Modifier and Type | Method and Description |
---|---|
RETURN_T |
evaluate(EvaluationContext context)
Make the call in a given evaluation context
|
Datatype<RETURN_T> |
getReturnType()
Get the actual return type of this call (same as the internal function's return type), used as return type for XACML Apply in PDP.
|
Datatype<RETURN_T> getReturnType()
RETURN_T evaluate(EvaluationContext context) throws IndeterminateEvaluationException
context
- evaluation contextIndeterminateEvaluationException
- if any evaluation errorCopyright © 2012–2020. All rights reserved.