Interface Registrar


  • @Deprecated
    public interface Registrar
    Deprecated.
    Do not use. This interface exists solely for legacy async stack compatibility reasons.
    An object which registers the functions that a Dispatcher calls.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Registrar.BinaryFunction<T1,​T2>
      Deprecated.
      Helper interface for describing binary functions where the type parameters are used to improve compile-time correctness of function bindings.
      static interface  Registrar.Function
      Deprecated.
      Interface describing the general signature of all CEL custom function implementations.
      static interface  Registrar.UnaryFunction<T>
      Deprecated.
      Helper interface for describing unary functions where the type-parameter is used to improve compile-time correctness of function bindings.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      <T> void add​(java.lang.String overloadId, java.lang.Class<T> argType, Registrar.UnaryFunction<T> function)
      Deprecated.
      Adds a unary function to the dispatcher.
      <T1,​T2>
      void
      add​(java.lang.String overloadId, java.lang.Class<T1> argType1, java.lang.Class<T2> argType2, Registrar.BinaryFunction<T1,​T2> function)
      Deprecated.
      Adds a binary function to the dispatcher.
      void add​(java.lang.String overloadId, java.util.List<java.lang.Class<?>> argTypes, Registrar.Function function)
      Deprecated.
      Adds a general function to the dispatcher.
    • Method Detail

      • add

        <T> void add​(java.lang.String overloadId,
                     java.lang.Class<T> argType,
                     Registrar.UnaryFunction<T> function)
        Deprecated.
        Adds a unary function to the dispatcher.
      • add

        <T1,​T2> void add​(java.lang.String overloadId,
                               java.lang.Class<T1> argType1,
                               java.lang.Class<T2> argType2,
                               Registrar.BinaryFunction<T1,​T2> function)
        Deprecated.
        Adds a binary function to the dispatcher.
      • add

        void add​(java.lang.String overloadId,
                 java.util.List<java.lang.Class<?>> argTypes,
                 Registrar.Function function)
        Deprecated.
        Adds a general function to the dispatcher.