Class FlowableEventTestHelper

java.lang.Object
org.flowable.eventregistry.test.FlowableEventTestHelper

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

    • eventRegistryEngine

      protected final EventRegistryEngine eventRegistryEngine
    • deploymentIdFromDeploymentAnnotation

      protected String deploymentIdFromDeploymentAnnotation
  • Constructor Details

    • FlowableEventTestHelper

      public FlowableEventTestHelper(EventRegistryEngine eventRegistryEngine)
  • Method Details

    • getEventRegistryEngine

      public EventRegistryEngine getEventRegistryEngine()
    • getEventRepositoryService

      public EventRepositoryService getEventRepositoryService()
    • getDeploymentIdFromDeploymentAnnotation

      public String getDeploymentIdFromDeploymentAnnotation()
    • setDeploymentIdFromDeploymentAnnotation

      public void setDeploymentIdFromDeploymentAnnotation(String deploymentIdFromDeploymentAnnotation)
    • setCurrentTime

      public void setCurrentTime(Date date)
    • setCurrentTime

      public void setCurrentTime(Instant instant)