com.jalios.jcms.stat
Class StatAlarmListener

java.lang.Object
  extended by com.jalios.jcms.db.TransactionalAlarmListener
      extended by com.jalios.jcms.stat.StatAlarmListener
All Implemented Interfaces:
AlarmListener

public class StatAlarmListener
extends TransactionalAlarmListener


Field Summary
protected  Member loggedMember
           
protected  StatReport report
           
static String REVISION
           
 
Constructor Summary
StatAlarmListener(Member loggedMember, StatReport report)
           
 
Method Summary
 void generate(long time)
          This method will roll ScheduleDate, StartingDate, EndingDate until now then run analyse
 void handleTransactionalAlarm(AlarmEntry entry)
          Method to be implemented by subclass.
 
Methods inherited from class com.jalios.jcms.db.TransactionalAlarmListener
handleAlarm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

loggedMember

protected Member loggedMember

report

protected StatReport report
Constructor Detail

StatAlarmListener

public StatAlarmListener(Member loggedMember,
                         StatReport report)
Method Detail

handleTransactionalAlarm

public void handleTransactionalAlarm(AlarmEntry entry)
Description copied from class: TransactionalAlarmListener
Method to be implemented by subclass.

Invoked when an alarm is triggered.

Specified by:
handleTransactionalAlarm in class TransactionalAlarmListener
Parameters:
entry - the AlarmEntry which has been triggered.

generate

public void generate(long time)
This method will roll ScheduleDate, StartingDate, EndingDate until now then run analyse

Parameters:
time - the nextSchedule time


Copyright © 2001-2010 Jalios SA. All Rights Reserved.