Interface SchedulableAction
- All Known Subinterfaces:
QuickShareLinkExpiryAction,ReplicationDefinition,ScheduledPersistedAction
- All Known Implementing Classes:
QuickShareLinkExpiryActionImpl,ReplicationDefinitionImpl,ScheduledPersistedActionImpl
public interface SchedulableAction
The scheduling details for an action, normally used via
ScheduledPersistedAction- Since:
- 3.4
- Author:
- Nick Burch
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionHow manygetScheduleIntervalPeriod()periods should we wait between executions?How long aregetScheduleIntervalCount()counts measured in?Get the first date that the action should be run on or after, or null if it should start shortly after each startup.voidsetScheduleIntervalCount(Integer count) Sets how many periods should be waited between each execution, or null if it shouldn't be repeated.voidSets the interval periodvoidsetScheduleStart(Date startDate) Sets the first date that the action should be run on or after.
-
Method Details
-
getScheduleStart
Date getScheduleStart()Get the first date that the action should be run on or after, or null if it should start shortly after each startup. -
setScheduleStart
Sets the first date that the action should be run on or after. Set to null if the action should be run shortly after each startup. -
getScheduleIntervalCount
Integer getScheduleIntervalCount()How manygetScheduleIntervalPeriod()periods should we wait between executions? Will be null if the action isn't scheduled to be repeated. -
setScheduleIntervalCount
Sets how many periods should be waited between each execution, or null if it shouldn't be repeated. -
getScheduleIntervalPeriod
SchedulableAction.IntervalPeriod getScheduleIntervalPeriod()How long aregetScheduleIntervalCount()counts measured in? -
setScheduleIntervalPeriod
Sets the interval period
-