public class CloudConnector extends Connector
This class acts as a facade to the connector library. All requests to the eSales service are initiated by method calls to a CloudConnector object, or an object obtained via the CloudConnector.
Use the getOrCreate(String)
or get(String)
method to obtain a CloudConnector object.
Modifier and Type | Method | Description |
---|---|---|
static CloudConnector |
get(String uri) |
Gets a connector, provided an eSales cluster URI.
|
static CloudConnector |
getOrCreate(String uriString) |
Creates a connector, unless already created, provided an eSales cluster URI.
|
availableMarkets, checkCustomerDataJobStatus, createExportCustomerDataJob, createRemoveCustomerDataJob, downloadExportCustomerDataJobResult, downloadExportCustomerDataJobResult, exportAds, exportAds, exportConfiguration, exportConfiguration, exportPanels, exportPanels, exportProducts, exportProducts, exportProducts, exportSynonyms, exportSynonyms, getVersion, importAds, importAds, importConfiguration, importConfiguration, importFile, importPanels, importPanels, importProducts, importProducts, importSynonyms, importSynonyms, latestNotifications, latestNotifications, putStrings, reporter, reporterForUnknownMarket, save, serverLog, serverLogNames, session, session, status
public static CloudConnector get(String uri)
getOrCreate(String)
for details on the URI format.uri
- The base URI to an eSales cluster.public static CloudConnector getOrCreate(String uriString) throws MalformedURLException
Example 1: esales://john:doe
Example 2: esales://john:doe?query_timeout=3500&;notification_timeout=3500
Example 3: esales://john:doe@cirrus.esales.apptus.com;stratus.esales.apptus.com?query_timeout=3500¬ification_timeout=3500
Unspecified ports defaults to 35000. The available parameters are:
uriString
- The base URI to an eSales cluster.MalformedURLException
- if the URL contains errors.Copyright © 2018 Apptus Technologies AB. All rights reserved.