public enum CapabilityResponseStatus extends Enum<CapabilityResponseStatus>
| Enum Constant and Description |
|---|
MISSING_INFRA
Infrastructure for capabilities is not available.
|
NOT_AVAILABLE
Capability could not be resolved.
|
OK
Response completed.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static CapabilityResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static CapabilityResponseStatus |
withName(String name)
String to
CapabilityResponseStatus conversion. |
public static final CapabilityResponseStatus OK
public static final CapabilityResponseStatus MISSING_INFRA
public static final CapabilityResponseStatus NOT_AVAILABLE
public static CapabilityResponseStatus[] values()
for (CapabilityResponseStatus c : CapabilityResponseStatus.values()) System.out.println(c);
public static CapabilityResponseStatus 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 getName()
public static CapabilityResponseStatus withName(String name)
CapabilityResponseStatus conversion.name - Name in string format.IllegalArgumentException - In case no match found between the given name and CapabilityResponseStatus.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.