Class DefaultAutoDeploymentStrategy

java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<EngageEngine>
com.flowable.engage.engine.autodeployment.AbstractEngageAutoDeploymentStrategy
com.flowable.engage.engine.autodeployment.DefaultAutoDeploymentStrategy
All Implemented Interfaces:
org.flowable.common.spring.AutoDeploymentStrategy<EngageEngine>

public class DefaultAutoDeploymentStrategy
extends AbstractEngageAutoDeploymentStrategy
Author:
Filip Hrisafov, Joram Barrez
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.Set<java.lang.String> autoDeployTenants  
    static java.lang.String DEPLOYMENT_MODE
    The deployment mode this strategy handles.

    Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy

    deploymentProperties, logger
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultAutoDeploymentStrategy()  
    DefaultAutoDeploymentStrategy​(java.util.Set<java.lang.String> autoDeployTenants)  
    DefaultAutoDeploymentStrategy​(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties, java.util.Set<java.lang.String> autoDeployTenants)  
  • Method Summary

    Modifier and Type Method Description
    protected void deploy​(org.springframework.core.io.Resource[] resources, ConversationDefinitionService conversationDefinitionService, java.lang.String tenantId)  
    protected void deployResourcesInternal​(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, EngageEngine engine)  
    protected java.lang.String getDeploymentMode()  

    Methods inherited from class com.flowable.engage.engine.autodeployment.AbstractEngageAutoDeploymentStrategy

    addResource, addResource, getLockManager

    Methods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy

    deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DefaultAutoDeploymentStrategy

      public DefaultAutoDeploymentStrategy()
    • DefaultAutoDeploymentStrategy

      public DefaultAutoDeploymentStrategy​(java.util.Set<java.lang.String> autoDeployTenants)
      Parameters:
      autoDeployTenants - the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)
    • DefaultAutoDeploymentStrategy

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

    • getDeploymentMode

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

      protected void deployResourcesInternal​(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, EngageEngine engine)
      Specified by:
      deployResourcesInternal in class org.flowable.common.spring.CommonAutoDeploymentStrategy<EngageEngine>
    • deploy

      protected void deploy​(org.springframework.core.io.Resource[] resources, ConversationDefinitionService conversationDefinitionService, java.lang.String tenantId)