Class AbstractAutoDeploymentStrategy

    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
    • Method Detail

      • getDeploymentMode

        protected abstract String getDeploymentMode()
        Gets the deployment mode this strategy handles.
        Returns:
        the name of the deployment mode
      • handlesMode

        public boolean handlesMode​(String mode)
        Description copied from interface: AutoDeploymentStrategy
        Determines whether the strategy handles deployments for the provided deployment mode.
        Specified by:
        handlesMode in interface AutoDeploymentStrategy
        Parameters:
        mode - the mode to determine handling for
        Returns:
        true if the strategy handles the mode; false otherwise
      • determineResourceName

        protected String determineResourceName​(org.springframework.core.io.Resource resource)
        Determines the name to be used for the provided resource.
        Parameters:
        resource - the resource to get the name for
        Returns:
        the name of the resource
      • validateModel

        protected boolean validateModel​(org.springframework.core.io.Resource resource,
                                        RepositoryService repositoryService)