Interface Deployer
- All Known Implementing Classes:
AbstractDeployer,CompositeDeployer,PreviewDeployer,ServerlessDeliveryDeployer
public interface Deployer
Helper/client class for doing Crafter Deployer operations.
- Author:
- avasquez
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTargets(String site) Calls a Crafter Deployer to create any necessary targets for the site.voiddeleteTargets(String site) Deletes the targets associated with the site.voidduplicateTargets(String sourceSiteId, String siteId) Call Crafter Deployer API to duplicate the site targets
-
Method Details
-
createTargets
Calls a Crafter Deployer to create any necessary targets for the site.- Parameters:
site- the site- Throws:
org.springframework.web.client.RestClientException- if an error occurs
-
deleteTargets
Deletes the targets associated with the site.- Parameters:
site- the site- Throws:
org.springframework.web.client.RestClientException- if an error occurs
-
duplicateTargets
Call Crafter Deployer API to duplicate the site targets- Parameters:
sourceSiteId- the site to duplicate fromsiteId- the new site id- Throws:
org.springframework.web.client.RestClientException- if an error occurs while calling Deployer API
-