public interface DataHubExtensionUploadService
| Modifier and Type | Method and Description |
|---|---|
void |
uploadExtension(ExtensionSource extSrc)
Uploads a DataHub extension to the DataHub server.
|
void uploadExtension(ExtensionSource extSrc)
throws IOException
extSrc - a source of the extension definition.IOException - when failed to read extension definition from the sourcecom.hybris.datahub.client.DataHubBlockedException - if extension cannot be uploaded now due to DataHub performing some uninterruptable operation. If this
exception received, the extension deployment should be attempted later.com.hybris.datahub.client.extension.InvalidDataHubExtensionException - if the extension defined in the source is invalid or it's not in XML format or the XML is malformed.Copyright © 2017 SAP SE. All Rights Reserved.