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 Summary
Modifier and TypeMethodDescriptionRetrieves all DataHub Servers available.Returns the DataHub server the user is working with.default voidreset()Resets all servers and current context DataHub server in the context of this service.
-
Method Details
-
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
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:
-