Package com.hybris.datahub.core.services
Interface DataHubExtensionUploadService
-
- All Known Implementing Classes:
DefaultDataHubExtensionUploadService
public interface DataHubExtensionUploadServiceA service for deploying DataHub extensions to the server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiduploadExtension(com.hybris.datahub.client.extension.ExtensionSource extSrc)Uploads a DataHub extension to the DataHub server.
-
-
-
Method Detail
-
uploadExtension
void uploadExtension(com.hybris.datahub.client.extension.ExtensionSource extSrc) throws java.io.IOExceptionUploads a DataHub extension to the DataHub server.- Parameters:
extSrc- a source of the extension definition.- Throws:
java.io.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.
-
-