public enum ServiceEndpointStatus extends Enum<ServiceEndpointStatus> implements Coded
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ServiceEndpointStatus ONLINE
public static final ServiceEndpointStatus OFFLINE
public static final ServiceEndpointStatus DISABLED
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 nameNullPointerException
- if the argument is nullpublic String getCode()
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 nullIllegalArgumentException
- if an endpoint status does not match the given codeCopyright © 2005–2016 The Kuali Foundation. All rights reserved.