Class ResumeFlowClock
- java.lang.Object
-
- lumis.portal.service.GenericServiceClock
-
- lumis.portal.analytics.automationflow.ResumeFlowClock
-
- All Implemented Interfaces:
IServiceClock
public class ResumeFlowClock extends GenericServiceClock
Clock for resuming suspended flows.- Since:
- 12.1.0
- Version:
- $Revision: 24172 $ $Date: 2020-10-07 18:10:00 -0300 (Wed, 07 Oct 2020) $
-
-
Field Summary
-
Fields inherited from interface lumis.portal.clock.IServiceClock
CLOCK_TICK_SERVICE, CLOCK_TICK_SERVICE_INSTANCE, CLOCK_TICK_SERVICE_INTERFACE, CLOCK_TICK_SERVICE_INTERFACE_INSTANCE
-
-
Constructor Summary
Constructors Constructor Description ResumeFlowClock()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTick(SessionConfig sessionConfig, ClockConfig clockConfig)
Executes a clock tick.static void
resumeAllSuspended()
Resumes all suspended flows that has a resume date before now.static void
resumeAllTimeoutWaitingForEvent()
Resumes the timed out flows that were waiting for an event to happen.-
Methods inherited from class lumis.portal.service.GenericServiceClock
getNextScheduleTime
-
-
-
-
Method Detail
-
doTick
public void doTick(SessionConfig sessionConfig, ClockConfig clockConfig) throws PortalException
Description copied from interface:IServiceClock
Executes a clock tick. This interface must be implemented by an object that handles clock ticks. Based on the service definition and/or the custom definition specified by the user this method will be called on regular intervals.- Parameters:
sessionConfig
- the user session information.clockConfig
- the clock.- Throws:
PortalException
-
resumeAllSuspended
public static void resumeAllSuspended() throws PortalException
Resumes all suspended flows that has a resume date before now.- Throws:
PortalException
- Since:
- 12.1.0
-
resumeAllTimeoutWaitingForEvent
public static void resumeAllTimeoutWaitingForEvent() throws PortalException
Resumes the timed out flows that were waiting for an event to happen.- Throws:
PortalException
- Since:
- 12.2.0
-
-