Class ResourceParentFolderAutoDeploymentStrategy

java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
com.flowable.form.spring.autodeployment.AbstractFormAutoDeploymentStrategy
com.flowable.form.spring.autodeployment.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 Details

    • DEPLOYMENT_MODE

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

    • ResourceParentFolderAutoDeploymentStrategy

      public ResourceParentFolderAutoDeploymentStrategy()
    • ResourceParentFolderAutoDeploymentStrategy

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

    • getDeploymentMode

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

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