Class CustomFunctionMapper

  • public class CustomFunctionMapper
    extends javax.el.FunctionMapper
    • Field Summary

      Modifier and Type Field Description
      static FeelEngineLogger LOG  
      protected java.util.Map<java.lang.String,​java.lang.reflect.Method> methods  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMethod​(java.lang.String name, java.lang.reflect.Method method)  
      java.lang.reflect.Method resolveFunction​(java.lang.String prefix, java.lang.String localName)  
      • Methods inherited from class java.lang.Object

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

      • methods

        protected final java.util.Map<java.lang.String,​java.lang.reflect.Method> methods
    • Constructor Detail

      • CustomFunctionMapper

        public CustomFunctionMapper()
    • Method Detail

      • resolveFunction

        public java.lang.reflect.Method resolveFunction​(java.lang.String prefix,
                                                        java.lang.String localName)
        Specified by:
        resolveFunction in class javax.el.FunctionMapper
      • addMethod

        public void addMethod​(java.lang.String name,
                              java.lang.reflect.Method method)