|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.clirr.core.MessageManager
public final class MessageManager
Class which manages API Difference messages, including expanding message codes into strings and descriptions.
Method Summary | |
---|---|
void |
addMessage(Message msg)
Add a message to the list of known messages. |
void |
checkUnique()
Verify that the list of known messages contains no two objects with the same numeric message id. |
static MessageManager |
getInstance()
Return the singleton instance of this class. |
java.util.Collection |
getMessages()
Return the complete set of registered messages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MessageManager getInstance()
public void addMessage(Message msg)
public void checkUnique()
java.lang.IllegalArgumentException
- if any duplicate id is found.public java.util.Collection getMessages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |