de.smartics.maven.apidoc
Class MessageHelper

Package class diagram package MessageHelper
java.lang.Object
  extended by de.smartics.maven.apidoc.MessageHelper

final class MessageHelper
     
     
extends Object

A helper to control access to the filtered messages.


Constructor Summary
MessageHelper(JavadocMessageConfig messageConfig, JavadocMessageLogger logger)
          Default constructor.
 
Method Summary
 List<IssueMessage> getErrMessages()
          Returns the filtered error messages.
 List<IssueMessage> getNoticeMessages()
          Returns the filtered notice messages.
 List<IssueMessage> getWarnMessages()
          Returns the filtered warn messages.
 boolean hasMessages()
          Checks if there are messages logged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHelper

public MessageHelper(JavadocMessageConfig messageConfig,
                     JavadocMessageLogger logger)
Default constructor.

Parameters:
messageConfig - the configuration to control the report rendering.
logger - the information to render to the report.
Method Detail

getErrMessages

public List<IssueMessage> getErrMessages()
Returns the filtered error messages.

Returns:
the filtered error messages.

getWarnMessages

public List<IssueMessage> getWarnMessages()
Returns the filtered warn messages.

Returns:
the filtered warn messages.

getNoticeMessages

public List<IssueMessage> getNoticeMessages()
Returns the filtered notice messages.

Returns:
the filtered notice messages.

hasMessages

public boolean hasMessages()
Checks if there are messages logged.

Returns:
true if at least one message has been logged, false otherwise.


Copyright © 2009-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.