|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.llnl.babel.msg.MsgList
public class MsgList
Contains a list of UserMsg, and displays various subsets of them
UserMsg| Constructor Summary | |
|---|---|
MsgList()
Create an empty message list |
|
| Method Summary | |
|---|---|
void |
addMsg(UserMsg msg)
Add a new message to the List |
boolean |
fatal_message()
Returns true iff a fatal message is included in the list. |
void |
print(java.io.PrintStream out)
|
void |
setFatalCondition(int type,
boolean setOrNot)
Set a particular type of message to trigger fatal errors, or not. |
void |
setPrintCondition(int type,
boolean setOrNot)
Set a particular type of message to print or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MsgList()
| Method Detail |
|---|
public void addMsg(UserMsg msg)
public boolean fatal_message()
public void setPrintCondition(int type,
boolean setOrNot)
type - one of UserMsg.ERROR, UserMsg.WARNING, or UserMsg.REMARKsetOrNot - true enables printing, false disables
public void setFatalCondition(int type,
boolean setOrNot)
type - one of UserMsg.ERROR, UserMsg.WARNING, or UserMsg.REMARKsetOrNot - true enables printing, false disablespublic void print(java.io.PrintStream out)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||