public abstract class AbstractModuleScheduler extends Object implements ModuleScheduler
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractModuleScheduler.ModuleSchedulerMessageImpl |
| Modifier and Type | Field and Description |
|---|---|
Messages |
messages
The i18n messages object used to get the correct text values.
|
| Constructor and Description |
|---|
AbstractModuleScheduler() |
| Modifier and Type | Method and Description |
|---|---|
DataService |
getDataService()
Gets the ModuleDataService this scheduler is using.
|
int |
getMaxSessions()
Get the maximum of sessions allowed for a module controlled by this scheduler
|
Module |
getModule()
Gets the module this scheduler is used for.
|
String |
getSchedulerLastSessionDate(Module module) |
String |
getSchedulerNumSessions(Module module) |
void |
setDataService(DataService dataService)
Set the dataService it might need.
|
void |
setMaxSessions(Integer maxSessions)
Sets the maximum of sessions allowed for a module controlled by this scheduler
|
void |
setMessages(Messages messages)
Set the messages object used for i18n of text values
|
void |
setModule(Module module)
Set the module this scheduler should manage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, initialize, isSessionStartAllowedpublic Messages messages
public void setModule(Module module)
setModule in interface ModuleSchedulerpublic void setDataService(DataService dataService)
setDataService in interface ModuleSchedulerpublic void setMessages(Messages messages)
setMessages in interface ModuleSchedulerpublic void setMaxSessions(Integer maxSessions)
setMaxSessions in interface ModuleSchedulerpublic int getMaxSessions()
public Module getModule()
public DataService getDataService()
public String getSchedulerNumSessions(Module module)
getSchedulerNumSessions in interface ModuleSchedulerpublic String getSchedulerLastSessionDate(Module module)
getSchedulerLastSessionDate in interface ModuleSchedulerCopyright © 2013. All Rights Reserved.