Interface DataHubServerContextService
-
- All Known Implementing Classes:
DataHubServerContextServiceImpl
public interface DataHubServerContextServiceA service containing context of the DataHub server the user is working with now.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Collection<DataHubServer>getAllServers()Retrieves all DataHub Servers available.DataHubServergetContextDataHubServer()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 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()
-
-