Package org.flowable.engine.impl.test
Class HistoryTestHelper
java.lang.Object
org.flowable.engine.impl.test.HistoryTestHelper
- Author:
- Tijs Rademakers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
areHistoryJobsAvailable
(ManagementService managementService) static boolean
areHistoryJobsAvailable
(FlowableRule activitiRule) Deprecated, for removal: This API element is subject to removal in a future version.static boolean
isHistoricTaskLoggingEnabled
(ProcessEngineConfiguration configuration) static boolean
isHistoryLevelAtLeast
(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration) static boolean
isHistoryLevelAtLeast
(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration, long time) static void
waitForJobExecutorToProcessAllHistoryJobs
(ProcessEngineConfiguration processEngineConfiguration, ManagementService managementService, long maxMillisToWait, long intervalMillis) static void
waitForJobExecutorToProcessAllHistoryJobs
(ProcessEngineConfiguration processEngineConfiguration, ManagementService managementService, long maxMillisToWait, long intervalMillis, boolean shutdownExecutorWhenFinished) static void
waitForJobExecutorToProcessAllHistoryJobs
(FlowableRule activitiRule, long maxMillisToWait, long intervalMillis) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
HistoryTestHelper
public HistoryTestHelper()
-
-
Method Details
-
isHistoryLevelAtLeast
public static boolean isHistoryLevelAtLeast(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration) -
isHistoryLevelAtLeast
public static boolean isHistoryLevelAtLeast(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration, long time) -
waitForJobExecutorToProcessAllHistoryJobs
@Deprecated(forRemoval=true, since="7.2.0") public static void waitForJobExecutorToProcessAllHistoryJobs(FlowableRule activitiRule, long maxMillisToWait, long intervalMillis) Deprecated, for removal: This API element is subject to removal in a future version. -
waitForJobExecutorToProcessAllHistoryJobs
public static void waitForJobExecutorToProcessAllHistoryJobs(ProcessEngineConfiguration processEngineConfiguration, ManagementService managementService, long maxMillisToWait, long intervalMillis) -
waitForJobExecutorToProcessAllHistoryJobs
public static void waitForJobExecutorToProcessAllHistoryJobs(ProcessEngineConfiguration processEngineConfiguration, ManagementService managementService, long maxMillisToWait, long intervalMillis, boolean shutdownExecutorWhenFinished) -
areHistoryJobsAvailable
@Deprecated(forRemoval=true, since="7.2.0") public static boolean areHistoryJobsAvailable(FlowableRule activitiRule) Deprecated, for removal: This API element is subject to removal in a future version.useareHistoryJobsAvailable(ManagementService)
instead. -
areHistoryJobsAvailable
-
isHistoricTaskLoggingEnabled
-
areHistoryJobsAvailable(ManagementService)
instead.