Class ServerlessDeliveryDeployer

  • All Implemented Interfaces:
    Deployer

    public class ServerlessDeliveryDeployer
    extends AbstractDeployer
    Implementation of Deployer that interacts with the Serverless Delivery Deployer, only if serverless delivery is enabled.
    Author:
    avasquez
    • Constructor Detail

      • ServerlessDeliveryDeployer

        public ServerlessDeliveryDeployer()
    • Method Detail

      • createTargets

        public void createTargets​(String site)
                           throws org.springframework.web.client.RestClientException
        Description copied from interface: Deployer
        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

        public void deleteTargets​(String site)
                           throws org.springframework.web.client.RestClientException
        Description copied from interface: Deployer
        Deletes the targets associated with the site.
        Parameters:
        site - the site
        Throws:
        org.springframework.web.client.RestClientException - if an error occurs
      • isServerlessDeliveryEnabled

        protected boolean isServerlessDeliveryEnabled()