public interface InternalAPI
InternalAPI is the interface that need to be implemented in order to register an internal API into EI.
  • Method Details

    • getResources

      APIResource[] getResources()
      Gets the API Resources.
      Returns:
      the array of API Resources
    • getContext

      String getContext()
      Gets the API context.
      Returns:
      the API context
    • getName

      String getName()
      Gets the API name.
      Returns:
      the name of the API
    • setName

      void setName(String name)
      Sets the name of the API
      Parameters:
      name - name of the API
    • setHandlers

      void setHandlers(List<InternalAPIHandler> handlerList)
      Sets the handlers associated with the API
      Parameters:
      handlerList - list of handlers
    • getHandlers

      List<InternalAPIHandler> getHandlers()
      Gets the handlers associated with the API