|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vfny.geoserver.control.internal.DefaultStatusReport
public class DefaultStatusReport
Basic read-only bean implementation of IStatusReport. Supplies getters for each field, which can be passed in through the constructor.
| Field Summary |
|---|
| Fields inherited from interface org.vfny.geoserver.control.IStatusReport |
|---|
ERROR, OKAY, WARNING |
| Constructor Summary | |
|---|---|
DefaultStatusReport(java.lang.String name,
int status,
java.lang.Exception message)
status can be one of IStatusReport's three constants: OKAY, WARNING, or ERROR. |
|
| Method Summary | |
|---|---|
java.lang.Exception |
getMessage()
Message is an Exception containing a message or a stack trace relevant to the current status. |
java.lang.String |
getModuleName()
The module name is a human readable String used to identify this module. |
int |
getStatus()
status should be one of IStatusReport's three constants: OKAY, WARNING, or ERROR. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultStatusReport(java.lang.String name,
int status,
java.lang.Exception message)
| Method Detail |
|---|
public java.lang.Exception getMessage()
IStatusReport
getMessage in interface IStatusReportpublic int getStatus()
getStatus in interface IStatusReportpublic java.lang.String getModuleName()
IStatusReport
getModuleName in interface IStatusReport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||