fr.umlv.tatoo.cc.common.log
Class DiagnosticReporter

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.log.DiagnosticReporter
Direct Known Subclasses:
AbstractASTDiagnosticReporter, AbstractConflictDiagnosticReporter

public abstract class DiagnosticReporter
extends Object


Nested Class Summary
static interface DiagnosticReporter.Key
           
static class DiagnosticReporter.Level
           
 
Constructor Summary
protected DiagnosticReporter(UserDefinedLevelMap userDefinedLevelMap)
           
 
Method Summary
protected  String formatMessage(DiagnosticReporter.Key key, Object... data)
           
protected abstract  ResourceBundle getBundle()
           
protected  DiagnosticReporter.Level getLevel(DiagnosticReporter.Key key)
           
 boolean isOnError()
           
protected  void setErrorIfNedded(DiagnosticReporter.Key key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagnosticReporter

protected DiagnosticReporter(UserDefinedLevelMap userDefinedLevelMap)
Method Detail

isOnError

public boolean isOnError()

setErrorIfNedded

protected final void setErrorIfNedded(DiagnosticReporter.Key key)

getBundle

protected abstract ResourceBundle getBundle()

formatMessage

protected final String formatMessage(DiagnosticReporter.Key key,
                                     Object... data)

getLevel

protected final DiagnosticReporter.Level getLevel(DiagnosticReporter.Key key)