public interface ModuleScheduler
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the scheduler.
|
String |
getSchedulerLastSessionDate(Module module)
Get the date off the last session
|
String |
getSchedulerNumSessions(Module module)
Get the numer of sessions done so far
|
void |
initialize()
Give the scheduler a chance to initialize.
|
ModuleSchedulerMessage |
isSessionStartAllowed(Module module)
Returns whether a new session can be started.
|
void |
setDataService(DataService dataService)
Set the DataService it might need.
|
void |
setMaxSessions(Integer maxSessions)
Sets the maximum amount of sessions allowed for a module controlled by this scheduler
|
void |
setMessages(Messages messages)
Sets the messages object to be used for i18n text values
|
void |
setModule(Module module)
Set the module this scheduler should manage.
|
void setModule(Module module)
void setDataService(DataService dataService)
void initialize()
String getName()
String getSchedulerNumSessions(Module module)
String getSchedulerLastSessionDate(Module module)
ModuleSchedulerMessage isSessionStartAllowed(Module module)
module
- void setMessages(Messages messages)
void setMaxSessions(Integer maxSessions)
Copyright © 2013. All Rights Reserved.