Class CustomFunction
- java.lang.Object
-
- org.camunda.bpm.dmn.feel.impl.scala.function.CustomFunction
-
public class CustomFunction extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Function<java.util.List<java.lang.Object>,java.lang.Object>
function
protected boolean
hasVarargs
protected java.util.List<java.lang.String>
params
-
Constructor Summary
Constructors Constructor Description CustomFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomFunctionBuilder
create()
Creates a fluent builder to configure a custom functionjava.util.function.Function<java.util.List<java.lang.Object>,java.lang.Object>
getFunction()
java.util.List<java.lang.String>
getParams()
boolean
hasVarargs()
void
setFunction(java.util.function.Function<java.util.List<java.lang.Object>,java.lang.Object> function)
void
setHasVarargs(boolean hasVarargs)
void
setParams(java.util.List<java.lang.String> params)
-
-
-
Method Detail
-
create
public static CustomFunctionBuilder create()
Creates a fluent builder to configure a custom function- Returns:
- builder to apply configurations on
-
getParams
public java.util.List<java.lang.String> getParams()
-
setParams
public void setParams(java.util.List<java.lang.String> params)
-
getFunction
public java.util.function.Function<java.util.List<java.lang.Object>,java.lang.Object> getFunction()
-
setFunction
public void setFunction(java.util.function.Function<java.util.List<java.lang.Object>,java.lang.Object> function)
-
hasVarargs
public boolean hasVarargs()
-
setHasVarargs
public void setHasVarargs(boolean hasVarargs)
-
-