com.ebay.carad.os.vitalsigns
Interface IDashboardAgent

All Superinterfaces:
IReportingListenerContainer
All Known Implementing Classes:
DashboardAgent

public interface IDashboardAgent
extends IReportingListenerContainer

Version:
$Id$
Author:
Jeremy Thomerson

Method Summary
 IDataDAO getDefaultDataDAO()
           
 java.lang.String getDestinationPath()
           
 java.util.List getReports()
           
 java.lang.String getTitle()
           
 void runAllReports()
          In charge of actually running the reports.
 
Methods inherited from interface com.ebay.carad.os.vitalsigns.IReportingListenerContainer
addReportingListener, getReportingListeners
 

Method Detail

getDefaultDataDAO

IDataDAO getDefaultDataDAO()

getReports

java.util.List getReports()
Returns:
List<IDashboardReportContainer> reports run by this agent.

getDestinationPath

java.lang.String getDestinationPath()

getTitle

java.lang.String getTitle()

runAllReports

void runAllReports()
In charge of actually running the reports. This method should trigger the reports each to run, passing them a time when the reporting started. Before the reports are triggered, the PreStart event should be triggered on all listeners registered with the agent, followed by all listeners registered with all reports. Then, after each report is run, the ReportRan event should be triggered, and following completion of all reports, the ReportingComplete event. Note that the listeners of the agent should always be notified before the listeners of the reports. ReportingExceptions thrown by any reports or any listeners of the agent or report should be caught. Then the listeners should be notified of the agent, and then the reports, and processing should continue.



Copyright © 2004-2009. All Rights Reserved.