Class FunctionCall
java.lang.Object
com.suncode.pwfl.core.function.FunctionCall
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionCall(FunctionOverride override, Object... args) FunctionCall(Function fn, Type<?> returnType, Object... args) -
Method Summary
Modifier and TypeMethodDescription<T> Tcall()Calls referenced function with provided arguments.Object[]getArgs()Returns call arguments of this function call.List<ContextVariable<?>> Returns underlying function.getName()Returns name of underlying function.Returns override that will be invoked incall()method.Type<?> Returns type of result ofcall()method.toString()
-
Constructor Details
-
FunctionCall
-
FunctionCall
-
FunctionCall
-
-
Method Details
-
getName
-
getFunction
-
getOverride
Returns override that will be invoked incall()method.- Returns:
- choosed function override
-
getReturnType
-
getArgs
-
call
public <T> T call()Calls referenced function with provided arguments. Returns this call results.- Returns:
- references function call result.
-
getContextVariables
- Returns:
- context variables used as an argument to this function call or any nested function call
-
toString
-