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.
|
protected ClientConfiguration |
getConfiguration() |
Invocation.Builder |
resource(java.lang.String uri) |
void |
setAdminClientConfiguration(ClientConfiguration adminClientConfiguration) |
void |
setDeveloperClientConfiguration(ClientConfiguration developerClientConfiguration) |
void |
setServerContextService(DataHubServerContextService s)
Injects service to use
|
void |
setUserContext(UserContext userContext) |
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)protected ClientConfiguration getConfiguration()
public Invocation.Builder resource(java.lang.String uri)
public void setServerContextService(DataHubServerContextService s)
s - a service, which will provide DataHub server information for the connections.public void setAdminClientConfiguration(ClientConfiguration adminClientConfiguration)
public void setDeveloperClientConfiguration(ClientConfiguration developerClientConfiguration)
public void setUserContext(UserContext userContext)
Copyright © 2018 SAP SE. All Rights Reserved.