Class DefaultAutoDeploymentStrategy

java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<PolicyEngine>
com.flowable.policy.engine.autodeployment.AbstractPolicyAutoDeploymentStrategy
com.flowable.policy.engine.autodeployment.DefaultAutoDeploymentStrategy
All Implemented Interfaces:
org.flowable.common.spring.AutoDeploymentStrategy<PolicyEngine>

public class DefaultAutoDeploymentStrategy
extends AbstractPolicyAutoDeploymentStrategy
  • 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​(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties, java.util.Set<java.lang.String> autoDeployTenants)  
  • Method Summary

    Modifier and Type Method Description
    protected java.util.Collection<org.springframework.core.io.Resource> collectDeployments​(org.springframework.core.io.Resource[] resources, PolicyResourceConverter policyResourceConverter)  
    protected void deploy​(java.lang.String deploymentNameHint, java.util.Collection<org.springframework.core.io.Resource> resources, PolicyRepositoryService policyRepositoryService, java.lang.String tenantId)  
    protected void deployResourcesInternal​(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, PolicyEngine engine)  
    protected java.lang.String getDeploymentMode()  

    Methods inherited from class com.flowable.policy.engine.autodeployment.AbstractPolicyAutoDeploymentStrategy

    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

  • Method Details

    • getDeploymentMode

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

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

      protected void deploy​(java.lang.String deploymentNameHint, java.util.Collection<org.springframework.core.io.Resource> resources, PolicyRepositoryService policyRepositoryService, java.lang.String tenantId)
    • collectDeployments

      protected java.util.Collection<org.springframework.core.io.Resource> collectDeployments​(org.springframework.core.io.Resource[] resources, PolicyResourceConverter policyResourceConverter)