Class 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 function
      java.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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • params

        protected java.util.List<java.lang.String> params
      • function

        protected java.util.function.Function<java.util.List<java.lang.Object>,​java.lang.Object> function
      • hasVarargs

        protected boolean hasVarargs
    • Constructor Detail

      • CustomFunction

        public CustomFunction()
    • 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)