RETURN
- function return typepublic abstract class FirstOrderFunction<RETURN extends Value> extends BaseFunction<RETURN>
AUTHZFORCE_EXTENSION_PREFIX, XACML_NS_1_0, XACML_NS_2_0, XACML_NS_3_0
Modifier | Constructor and Description |
---|---|
protected |
FirstOrderFunction(String name) |
Modifier and Type | Method and Description |
---|---|
abstract List<? extends Datatype<?>> |
getParameterTypes()
Get parameter types
|
FunctionCall<RETURN> |
newCall(List<Expression<?>> argExpressions)
Creates new function call with given arguments (Expressions).
|
abstract FirstOrderFunctionCall<RETURN> |
newCall(List<Expression<?>> argExpressions,
Datatype<?>... remainingArgTypes)
Returns a function call for calling this function.
|
equals, getId, getIndeterminateArgException, getIndeterminateArgMessage, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getReturnType
protected FirstOrderFunction(String name)
public abstract List<? extends Datatype<?>> getParameterTypes()
public abstract FirstOrderFunctionCall<RETURN> newCall(List<Expression<?>> argExpressions, Datatype<?>... remainingArgTypes) throws IllegalArgumentException
argExpressions
- function arguments (expressions)remainingArgTypes
- types of remaining inputs to be passed only at request evaluation time, if not all arguments are specified in argExpressions
. Therefore, only their type is checked at
this point. The actual argument values will be passed as last parameters when calling
BaseFirstOrderFunctionCall.evaluate(org.ow2.authzforce.core.pdp.api.EvaluationContext, boolean, org.ow2.authzforce.core.pdp.api.value.AttributeValue...)
at request evaluation
time, via the returned FunctionCall
.IllegalArgumentException
- if inputs are invalid for this functionpublic final FunctionCall<RETURN> newCall(List<Expression<?>> argExpressions) throws IllegalArgumentException
Function
argExpressions
- function arguments (expressions)IllegalArgumentException
- if inputs are invalid for this functionCopyright © 2012–2020. All rights reserved.