Class DefaultAutoDeploymentStrategy

java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<AppEngine>
com.flowable.app.engine.impl.autodeployment.AbstractAppAutoDeploymentStrategy
com.flowable.app.engine.impl.autodeployment.DefaultAutoDeploymentStrategy
All Implemented Interfaces:
org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>

public class DefaultAutoDeploymentStrategy extends AbstractAppAutoDeploymentStrategy
Default Implementation of AutoDeploymentStrategy that performs a separate deployment for each resource by name.
Author:
Tijs Rademakers, Joram Barrez
  • Field Details

    • DEPLOYMENT_MODE

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

      protected final Set<String> autoDeployTenants
  • Constructor Details

    • DefaultAutoDeploymentStrategy

      public DefaultAutoDeploymentStrategy()
    • DefaultAutoDeploymentStrategy

      public DefaultAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
    • DefaultAutoDeploymentStrategy

      public DefaultAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
  • Method Details

    • getDeploymentMode

      protected String getDeploymentMode()
      Specified by:
      getDeploymentMode in class org.flowable.common.spring.CommonAutoDeploymentStrategy<AppEngine>
    • deployResourcesInternal

      protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, AppEngine engine)
      Specified by:
      deployResourcesInternal in class org.flowable.common.spring.CommonAutoDeploymentStrategy<AppEngine>
    • deploy

      protected void deploy(Resource[] resources, org.flowable.app.api.AppRepositoryService repositoryService, String tenantId)