public class FlowableEventTestHelper extends Object
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.| Modifier and Type | Field and Description |
|---|---|
protected String |
deploymentIdFromDeploymentAnnotation |
protected EventRegistryEngine |
eventRegistryEngine |
| Constructor and Description |
|---|
FlowableEventTestHelper(EventRegistryEngine eventRegistryEngine) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeploymentIdFromDeploymentAnnotation() |
EventRegistryEngine |
getEventRegistryEngine() |
EventRepositoryService |
getEventRepositoryService() |
void |
setCurrentTime(Date date) |
void |
setCurrentTime(Instant instant) |
void |
setDeploymentIdFromDeploymentAnnotation(String deploymentIdFromDeploymentAnnotation) |
protected final EventRegistryEngine eventRegistryEngine
protected String deploymentIdFromDeploymentAnnotation
public FlowableEventTestHelper(EventRegistryEngine eventRegistryEngine)
public EventRegistryEngine getEventRegistryEngine()
public EventRepositoryService getEventRepositoryService()
public String getDeploymentIdFromDeploymentAnnotation()
public void setDeploymentIdFromDeploymentAnnotation(String deploymentIdFromDeploymentAnnotation)
public void setCurrentTime(Date date)
public void setCurrentTime(Instant instant)
Copyright © 2021 Flowable. All rights reserved.