public class CustomFunction extends Object
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Function<List<Object>,Object> |
function |
protected boolean |
hasVarargs |
protected List<String> |
params |
Constructor and Description |
---|
CustomFunction() |
Modifier and Type | Method and Description |
---|---|
static CustomFunctionBuilder |
create()
Creates a fluent builder to configure a custom function
|
java.util.function.Function<List<Object>,Object> |
getFunction() |
List<String> |
getParams() |
boolean |
hasVarargs() |
void |
setFunction(java.util.function.Function<List<Object>,Object> function) |
void |
setHasVarargs(boolean hasVarargs) |
void |
setParams(List<String> params) |
protected java.util.function.Function<List<Object>,Object> function
protected boolean hasVarargs
public static CustomFunctionBuilder create()
public java.util.function.Function<List<Object>,Object> getFunction()
public void setFunction(java.util.function.Function<List<Object>,Object> function)
public boolean hasVarargs()
public void setHasVarargs(boolean hasVarargs)
Copyright © 2021. All rights reserved.