|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgenopt.db.MessageManager
public class MessageManager
Object for collecting messages that occur during the optimization.
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2011, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
| Field Summary | |
|---|---|
private int |
ARRAYINCREMENT
Constant for increasing the array size |
private int |
arrSiz
current size of array |
private GenOpt |
go
reference to GenOpt object (used to print messages) |
protected java.lang.String |
kind
indicator whether this objects collects info or warnings |
private static java.lang.String |
LS
System dependent line separator |
private java.lang.String[] |
mes
array with the messages |
private int |
numOfMes
1-based counter for number of message |
| Constructor Summary | |
|---|---|
MessageManager(GenOpt genOptRef)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessages()
gets a String with all messages |
int |
getNumberOfMessages()
gets a the number of messages |
private void |
increaseArraySize()
increases the array size |
void |
setMessage(java.lang.String message)
sets a message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String LS
private final int ARRAYINCREMENT
private GenOpt go
private java.lang.String[] mes
private int arrSiz
private int numOfMes
protected java.lang.String kind
| Constructor Detail |
|---|
public MessageManager(GenOpt genOptRef)
genOptRef - reference to GenOpt object| Method Detail |
|---|
public void setMessage(java.lang.String message)
message - the messagepublic java.lang.String getMessages()
public int getNumberOfMessages()
private void increaseArraySize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||