public class JavaFunction extends BaseFEELFunction
Constructor and Description |
---|
JavaFunction(String name,
List<String> parameters,
Class clazz,
Method method) |
Modifier and Type | Method and Description |
---|---|
List<List<String>> |
getParameterNames()
Returns the parameter names for each supported signature.
|
FEELFnResult<Object> |
invoke(EvaluationContext ctx,
Object[] params)
this method should be overriden by custom function implementations that should be invoked reflectively
|
protected boolean |
isCustomFunction() |
String |
toString() |
getName, getSymbol, invokeReflectively, setName
public List<List<String>> getParameterNames()
FEELFunction
getParameterNames
in interface FEELFunction
getParameterNames
in class BaseFEELFunction
public FEELFnResult<Object> invoke(EvaluationContext ctx, Object[] params)
BaseFEELFunction
invoke
in class BaseFEELFunction
protected boolean isCustomFunction()
isCustomFunction
in class BaseFEELFunction
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.