Class ResourceParentFolderAutoDeploymentStrategy

  • All Implemented Interfaces:
    org.flowable.common.spring.AutoDeploymentStrategy<FormEngine>

    public class ResourceParentFolderAutoDeploymentStrategy
    extends AbstractFormAutoDeploymentStrategy
    Implementation of AutoDeploymentStrategy that performs a separate deployment for each set of Resources that share the same parent folder. The namehint is used to prefix the names of deployments. If the parent folder for a Resource cannot be determined, the resource's name is used.
    Author:
    Tiese Barrell
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEPLOYMENT_MODE
      The deployment mode this strategy handles.
      • Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy

        deploymentProperties, logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void deployResourcesInternal​(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)  
      protected java.lang.String getDeploymentMode()  
      • 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 Detail

      • DEPLOYMENT_MODE

        public static final java.lang.String DEPLOYMENT_MODE
        The deployment mode this strategy handles.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ResourceParentFolderAutoDeploymentStrategy

        public ResourceParentFolderAutoDeploymentStrategy()
      • ResourceParentFolderAutoDeploymentStrategy

        public ResourceParentFolderAutoDeploymentStrategy​(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
    • Method Detail

      • getDeploymentMode

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

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