Interface HandlerService<DT,​PT extends HandlerPlugin<DT>>

    • Method Detail

      • getHandler

        default PT getHandler​(DT data)
        Gets the most appropriate handler for the given data object, or null if no handler supports it.
      • getInstances

        List<PT> getInstances()
        Gets the list of handlers. There will be one singleton instance for each available handler plugin.
        Specified by:
        getInstances in interface SingletonService<DT>
      • supports

        default boolean supports​(DT data)
        Gets whether the given data object is supported.
        Specified by:
        supports in interface Typed<DT>