Class FlowableContentTestHelper

java.lang.Object
com.flowable.content.engine.test.FlowableContentTestHelper

public class FlowableContentTestHelper extends Object
A Helper for the Flowable FlowableContentExtension that can be used within the JUnit Jupiter context store and users can use it in the tests for easy modifying of the ContentEngine time and easy access for waiting on the job executor.
Author:
Filip Hrisafov
  • Field Details

    • contentEngine

      protected final ContentEngine contentEngine
    • deploymentIdFromDeploymentAnnotation

      protected String deploymentIdFromDeploymentAnnotation
  • Constructor Details

    • FlowableContentTestHelper

      public FlowableContentTestHelper(ContentEngine contentEngine)
  • Method Details

    • getContentEngine

      public ContentEngine getContentEngine()
    • getDeploymentIdFromDeploymentAnnotation

      public String getDeploymentIdFromDeploymentAnnotation()
    • setDeploymentIdFromDeploymentAnnotation

      public void setDeploymentIdFromDeploymentAnnotation(String deploymentIdFromDeploymentAnnotation)
    • setCurrentTime

      public void setCurrentTime(Date date)
    • setCurrentTime

      public void setCurrentTime(Instant instant)
    • deploy

      public DocumentDeployment deploy(Class<?> testClass, Method method, DocumentDeployment deployment)
    • deploy

      protected DocumentDeployment deploy(String[] resources, String deploymentName, String tenantId)