public class DynamicPoolActionClient extends PoolActionClient implements DynamicRestClient
| Constructor and Description |
|---|
DynamicPoolActionClient(ClientConfiguration cfg) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseApiUrl()
Returns URL of the API root for the current server to use.
|
void |
setServerContextService(DataHubServerContextService s)
Injects service to use
|
void |
useContextServer()
Instructs this client to stop using a server explicitly specified previously and to start using the server
selected in the DataHub UI.
|
void |
useServer(DataHubServer server)
Specifies DataHub server to use for uploading data.
|
public java.lang.String getBaseApiUrl()
DynamicRestClientgetBaseApiUrl in interface DynamicRestClientpublic void useServer(DataHubServer server)
DynamicRestClientuseServer in interface DynamicRestClientserver - a server, against which the REST calls should be executed.public void useContextServer()
DynamicRestClientuseContextServer in interface DynamicRestClientDynamicRestClient.useServer(DataHubServer)public void setServerContextService(DataHubServerContextService s)
s - a service, which will provide DataHub server information for the connections.Copyright © 2017 SAP SE. All Rights Reserved.