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 Type
    Method
    Description
    void
    Calls a Crafter Deployer to create any necessary targets for the site.
    void
    Deletes the targets associated with the site.
    void
    duplicateTargets(String sourceSiteId, String siteId)
    Call Crafter Deployer API to duplicate the site targets
  • Method Details

    • createTargets

      void createTargets(String site) throws org.springframework.web.client.RestClientException
      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

      void deleteTargets(String site) throws org.springframework.web.client.RestClientException
      Deletes the targets associated with the site.
      Parameters:
      site - the site
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs
    • duplicateTargets

      void duplicateTargets(String sourceSiteId, String siteId)
      Call Crafter Deployer API to duplicate the site targets
      Parameters:
      sourceSiteId - the site to duplicate from
      siteId - the new site id
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while calling Deployer API