|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ServiceEndpointStatus> org.kuali.rice.ksb.api.registry.ServiceEndpointStatus
public enum ServiceEndpointStatus
Defines the possible statuses for a service endpoint in the KSB registry.
Enum Constant Summary | |
---|---|
DISABLED
Indicates the service has been disabled because the registry has detected that it, or it's host instance is defective or not processing requests properly. |
|
OFFLINE
Indicates the service has been taken offline, most likely as the result of the instance hosting the service being taken offline (i.e. |
|
ONLINE
Indicates the service is online and available to receieve requests. |
Method Summary | |
---|---|
static ServiceEndpointStatus |
fromCode(String code)
Returns the endpoint status for the given status code. |
String |
getCode()
The code value for this object. |
static ServiceEndpointStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceEndpointStatus[] |
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 ServiceEndpointStatus ONLINE
public static final ServiceEndpointStatus OFFLINE
public static final ServiceEndpointStatus DISABLED
Method Detail |
---|
public static ServiceEndpointStatus[] values()
for (ServiceEndpointStatus c : ServiceEndpointStatus.values()) System.out.println(c);
public static ServiceEndpointStatus 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 String getCode()
Coded
getCode
in interface Coded
public static ServiceEndpointStatus fromCode(String code)
code
- the code for which to locate the ServiceEndpointStatus
ServiceEndpointStatus
which has the given code, or null
if the given code value was null
IllegalArgumentException
- if an endpoint status does not match the given code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |