| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Status>
org.deegree.portal.owswatch.Status
public enum Status
Enum to hold the different states of a response to the tests made on different services
| Enum Constant Summary | |
|---|---|
RESULT_STATE_AVAILABLE
If the Service is available  | 
|
RESULT_STATE_BAD_RESPONSE
If the response stream is null or can not be read  | 
|
RESULT_STATE_ERROR_UNKNOWN
A general use error  | 
|
RESULT_STATE_INVALID_XML
The returned xml document can not be parsed  | 
|
RESULT_STATE_NOT_IMPLEMENTED
The requested service is not implemented  | 
|
RESULT_STATE_PAGE_UNAVAILABLE
If the page is unavailable at all  | 
|
RESULT_STATE_SERVICE_UNAVAILABLE
In case the page is available but the request returned no response  | 
|
RESULT_STATE_TIMEOUT
Timeout has occured while executing the request  | 
|
RESULT_STATE_UNEXPECTED_CONTENT
 | 
|
RESULT_STATE_WAITING
If the Service has not yet been tested  | 
|
| Method Summary | |
|---|---|
 String | 
getStatusMessage()
 | 
 boolean | 
isAvailable()
 | 
 boolean | 
isCriticalError()
 | 
 boolean | 
isNonCriticalError()
 | 
 boolean | 
isWaiting()
 | 
static Status | 
valueOf(String name)
Returns the enum constant of this type with the specified name.  | 
static Status[] | 
values()
Returns an array containing the constants of this enum type, in the order they are declared.  | 
| Methods inherited from class java.lang.Enum | 
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final Status RESULT_STATE_AVAILABLE
public static final Status RESULT_STATE_WAITING
public static final Status RESULT_STATE_PAGE_UNAVAILABLE
public static final Status RESULT_STATE_TIMEOUT
public static final Status RESULT_STATE_NOT_IMPLEMENTED
public static final Status RESULT_STATE_BAD_RESPONSE
public static final Status RESULT_STATE_SERVICE_UNAVAILABLE
public static final Status RESULT_STATE_INVALID_XML
public static final Status RESULT_STATE_ERROR_UNKNOWN
public static final Status RESULT_STATE_UNEXPECTED_CONTENT
| Method Detail | 
|---|
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isAvailable()
public boolean isWaiting()
public boolean isCriticalError()
public boolean isNonCriticalError()
public String getStatusMessage()
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org