public class PassthruPathFunction extends Object implements PathFunction
| Constructor and Description |
|---|
PassthruPathFunction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters)
Invoke the function and output a JSON object (or scalar) value which will be the result of executing the path
|
public Object invoke(String currentPath, PathRef parent, Object model, EvaluationContext ctx, List<Parameter> parameters)
PathFunctioninvoke in interface PathFunctioncurrentPath - The current path location inclusive of the function nameparent - The path location above the current functionmodel - The JSON model as input to this particular functionctx - Eval context, state bag used as the path is traversed, maintains the result of executingCopyright © 2016. All rights reserved.