Interface DataHubServerContextService

  • All Known Implementing Classes:
    DataHubServerContextServiceImpl

    public interface DataHubServerContextService
    A service containing context of the DataHub server the user is working with now.
    • Method Detail

      • getContextDataHubServer

        DataHubServer getContextDataHubServer()
        Returns the DataHub server the user is working with.
        Returns:
        DataHub server currently being in the context of the user operations.
      • getAllServers

        java.util.Collection<DataHubServer> getAllServers()
        Retrieves all DataHub Servers available.
        Returns:
        a collection of all servers available for the user to choose or an empty collection, if no servers configured.
      • reset

        default void reset()
        Resets all servers and current context DataHub server in the context of this service. Implementations must provide this functionality. Default implementation in this interface does nothing.
        See Also:
        getContextDataHubServer(), getAllServers()