org.alfresco.service.cmr.action.scheduled
Interface SchedulableAction

All Known Subinterfaces:
ReplicationDefinition, ScheduledPersistedAction
All Known Implementing Classes:
ReplicationDefinitionImpl, ScheduledPersistedActionImpl

public interface SchedulableAction

The scheduling details for an action, normally used via ScheduledPersistedAction

Since:
3.4

Nested Class Summary
static class SchedulableAction.IntervalPeriod
           
 
Method Summary
 java.lang.Integer getScheduleIntervalCount()
          How many SchedulableAction.getScheduleIntervalPeriod() periods should we wait between executions? Will be null if the action isn't scheduled to be repeated.
 SchedulableAction.IntervalPeriod getScheduleIntervalPeriod()
          How long are SchedulableAction.getScheduleIntervalCount() counts measured in?
 java.util.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.
 void setScheduleIntervalCount(java.lang.Integer count)
          Sets how many periods should be waited between each execution, or null if it shouldn't be repeated.
 void setScheduleIntervalPeriod(SchedulableAction.IntervalPeriod period)
          Sets the interval period
 void setScheduleStart(java.util.Date startDate)
          Sets the first date that the action should be run on or after.
 

Method Detail

getScheduleStart

java.util.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

void setScheduleStart(java.util.Date startDate)
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

java.lang.Integer getScheduleIntervalCount()
How many SchedulableAction.getScheduleIntervalPeriod() periods should we wait between executions? Will be null if the action isn't scheduled to be repeated.


setScheduleIntervalCount

void setScheduleIntervalCount(java.lang.Integer count)
Sets how many periods should be waited between each execution, or null if it shouldn't be repeated.


getScheduleIntervalPeriod

SchedulableAction.IntervalPeriod getScheduleIntervalPeriod()
How long are SchedulableAction.getScheduleIntervalCount() counts measured in?


setScheduleIntervalPeriod

void setScheduleIntervalPeriod(SchedulableAction.IntervalPeriod period)
Sets the interval period



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.