com.ebay.carad.os.vitalsigns.listeners
Class IndexWritingListener
java.lang.Object
com.ebay.carad.os.vitalsigns.listeners.AbstractReportingListener
com.ebay.carad.os.vitalsigns.listeners.IndexWritingListener
- All Implemented Interfaces:
- IReportingListener
public class IndexWritingListener
- extends AbstractReportingListener
Used for writing any kind of index to the reports that were ran. It stores reports
internally as each is ran, and then when reportingComplete is called, it
generates its output based on the Freemarker template provided.
- Version:
- $Id$
- Author:
- Jeremy Thomerson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final org.apache.log4j.Logger LOGGER
mTemplateProcessor
private ITemplateProcessor mTemplateProcessor
mRelativeOutputPath
private java.lang.String mRelativeOutputPath
mTemplatePath
private java.lang.String mTemplatePath
IndexWritingListener
public IndexWritingListener()
reportingComplete
public void reportingComplete(IDashboardAgent agent)
- Specified by:
reportingComplete
in interface IReportingListener
- Overrides:
reportingComplete
in class AbstractReportingListener
getTemplatePath
public java.lang.String getTemplatePath()
setTemplatePath
public void setTemplatePath(java.lang.String templatePath)
- Parameters:
templatePath
- The path to the template on the classpath.
getRelativeOutputPath
public java.lang.String getRelativeOutputPath()
setRelativeOutputPath
public void setRelativeOutputPath(java.lang.String relativeOutputPath)
- Parameters:
relativeOutputPath
- The path that the output should be written to, relative to the report agent destination path
Copyright © 2004-2009. All Rights Reserved.