org.millscript.commons.alert.reporters
Class AbstractAlertReporter

java.lang.Object
  extended by org.millscript.commons.alert.reporters.AbstractAlertReporter
All Implemented Interfaces:
AlertReporter
Direct Known Subclasses:
StandardMishapAlertReporter, StandardWarningAlertReporter

public abstract class AbstractAlertReporter
extends java.lang.Object
implements AlertReporter

This class provides a skeletal AlertReporter implementation, to make reduce duplication of code between concrete implementations.


Constructor Summary
AbstractAlertReporter()
           
 
Method Summary
 void report(Alert alert)
          Reports the specified Alert in the appropriate manner.
abstract  void reportComplaint(java.lang.String complaint)
          Reports the specified Culprit.
 void reportCulprit(Culprit culprit)
          Reports the specified Culprit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAlertReporter

public AbstractAlertReporter()
Method Detail

report

public void report(Alert alert)
Description copied from interface: AlertReporter
Reports the specified Alert in the appropriate manner.

Specified by:
report in interface AlertReporter
Parameters:
alert - the Alert to report
See Also:
AlertReporter.report(org.millscript.commons.alert.Alert)

reportComplaint

public abstract void reportComplaint(java.lang.String complaint)
Reports the specified Culprit.

Parameters:
culprit - the Culprit to report

reportCulprit

public void reportCulprit(Culprit culprit)
Reports the specified Culprit.

Parameters:
culprit - the Culprit to report


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.