public class FunctionRef extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionRef.InvokeModeEnum
函数调用模式,目前只支持同步调用
|
| Constructor and Description |
|---|
FunctionRef() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getArguments()
函数执行时的入参,支持引用constants中的常量 定义方式:参数路径 | 常量值/常量路径 参数路径指输入参数的JsonPath路径,如$.a.b[0].c 常量值可以为数字类型,字符串类型(需要用单引号括起来),布尔类型 常量路径为常量的JsonPath路径,但是根节点需要用$CONST表示,示例:$CONST.a.b
|
FunctionRef.InvokeModeEnum |
getInvokeMode()
函数调用模式,目前只支持同步调用
|
String |
getRefName()
函数引用名称,需要和外层functions中的name对应
|
int |
hashCode() |
void |
setArguments(Object arguments) |
void |
setInvokeMode(FunctionRef.InvokeModeEnum invokeMode) |
void |
setRefName(String refName) |
String |
toString() |
FunctionRef |
withArguments(Object arguments) |
FunctionRef |
withInvokeMode(FunctionRef.InvokeModeEnum invokeMode) |
FunctionRef |
withRefName(String refName) |
public FunctionRef withRefName(String refName)
public String getRefName()
public void setRefName(String refName)
public FunctionRef withInvokeMode(FunctionRef.InvokeModeEnum invokeMode)
public FunctionRef.InvokeModeEnum getInvokeMode()
public void setInvokeMode(FunctionRef.InvokeModeEnum invokeMode)
public FunctionRef withArguments(Object arguments)
public Object getArguments()
public void setArguments(Object arguments)
Copyright © 2022. All rights reserved.