ch.tatool.core.module.scheduler
Class DailyModuleScheduler

java.lang.Object
  extended by ch.tatool.core.module.scheduler.AbstractModuleScheduler
      extended by ch.tatool.core.module.scheduler.DailyModuleScheduler
All Implemented Interfaces:
ModuleScheduler

public class DailyModuleScheduler
extends AbstractModuleScheduler

Allows one session a day and doesn't allow the user to terminate a session.

Author:
Michael Ruflin

Nested Class Summary
 
Nested classes/interfaces inherited from class ch.tatool.core.module.scheduler.AbstractModuleScheduler
AbstractModuleScheduler.ModuleSchedulerMessageImpl
 
Constructor Summary
DailyModuleScheduler()
           
 
Method Summary
 boolean canUserTerminateSession(ModuleSession moduleSession)
           
 String getName()
           
 void initialize()
          Give the scheduler a chance to initialize.
 ModuleSchedulerMessage isSessionStartAllowed(Module module)
           
 
Methods inherited from class ch.tatool.core.module.scheduler.AbstractModuleScheduler
getDataService, getModule, getSchedulerLastSessionDate, getSchedulerNumSessions, setDataService, setModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DailyModuleScheduler

public DailyModuleScheduler()
Method Detail

initialize

public void initialize()
Give the scheduler a chance to initialize.


getName

public String getName()

canUserTerminateSession

public boolean canUserTerminateSession(ModuleSession moduleSession)

isSessionStartAllowed

public ModuleSchedulerMessage isSessionStartAllowed(Module module)


Copyright © 2012. All Rights Reserved.