Class DefaultAutoDeploymentStrategy

java.lang.Object
org.activiti.spring.autodeployment.AbstractAutoDeploymentStrategy
org.activiti.spring.autodeployment.DefaultAutoDeploymentStrategy
All Implemented Interfaces:
AutoDeploymentStrategy

public class DefaultAutoDeploymentStrategy extends AbstractAutoDeploymentStrategy
Default implementation of AutoDeploymentStrategy that groups all Resources into a single deployment. This implementation is equivalent to the previously used implementation.
  • Field Details

    • DEPLOYMENT_MODE

      public static final String DEPLOYMENT_MODE
      The deployment mode this strategy handles.
      See Also:
  • Constructor Details

    • DefaultAutoDeploymentStrategy

      public DefaultAutoDeploymentStrategy(org.activiti.core.common.spring.project.ApplicationUpgradeContextService applicationUpgradeContextService)
  • Method Details

    • getDeploymentMode

      protected String getDeploymentMode()
      Description copied from class: AbstractAutoDeploymentStrategy
      Gets the deployment mode this strategy handles.
      Specified by:
      getDeploymentMode in class AbstractAutoDeploymentStrategy
      Returns:
      the name of the deployment mode
    • deployResources

      public void deployResources(String deploymentNameHint, org.springframework.core.io.Resource[] resources, org.activiti.engine.RepositoryService repositoryService)
      Description copied from interface: AutoDeploymentStrategy
      Performs deployment for the provided resources, using the provided name as a hint and the provided RepositoryService to perform deployment(s).
      Parameters:
      deploymentNameHint - the hint for the name of deployment(s) performed
      resources - the resources to be deployed
      repositoryService - the repository service to use for deployment(s)