Package org.flowable.engine.impl.test
Class HistoryTestHelper
- java.lang.Object
-
- org.flowable.engine.impl.test.HistoryTestHelper
-
public class HistoryTestHelper extends Object
- Author:
- Tijs Rademakers
-
-
Constructor Summary
Constructors Constructor Description HistoryTestHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanareHistoryJobsAvailable(ManagementService managementService)static booleanareHistoryJobsAvailable(FlowableRule activitiRule)static booleanisHistoricTaskLoggingEnabled(ProcessEngineConfiguration configuration)static booleanisHistoryLevelAtLeast(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration)static booleanisHistoryLevelAtLeast(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration, long time)static voidwaitForJobExecutorToProcessAllHistoryJobs(ProcessEngineConfiguration processEngineConfiguration, ManagementService managementService, long maxMillisToWait, long intervalMillis)static voidwaitForJobExecutorToProcessAllHistoryJobs(ProcessEngineConfiguration processEngineConfiguration, ManagementService managementService, long maxMillisToWait, long intervalMillis, boolean shutdownExecutorWhenFinished)static voidwaitForJobExecutorToProcessAllHistoryJobs(FlowableRule activitiRule, long maxMillisToWait, long intervalMillis)
-
-
-
Method Detail
-
isHistoryLevelAtLeast
public static boolean isHistoryLevelAtLeast(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration)
-
isHistoryLevelAtLeast
public static boolean isHistoryLevelAtLeast(HistoryLevel historyLevel, ProcessEngineConfigurationImpl processEngineConfiguration, long time)
-
waitForJobExecutorToProcessAllHistoryJobs
public static void waitForJobExecutorToProcessAllHistoryJobs(FlowableRule activitiRule, long maxMillisToWait, long intervalMillis)
-
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
public static boolean areHistoryJobsAvailable(FlowableRule activitiRule)
-
areHistoryJobsAvailable
public static boolean areHistoryJobsAvailable(ManagementService managementService)
-
isHistoricTaskLoggingEnabled
public static boolean isHistoricTaskLoggingEnabled(ProcessEngineConfiguration configuration)
-
-