@Portable public enum CapabilityStatus extends Enum<CapabilityStatus>
The status for a capability.
Usually a capability can be executed in the service provider if the status of it is ENABLED
.
Enum Constant and Description |
---|
ENABLED |
UNSUPPORTED |
Modifier and Type | Method and Description |
---|---|
static CapabilityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityStatus UNSUPPORTED
public static final CapabilityStatus ENABLED
public static CapabilityStatus[] values()
for (CapabilityStatus c : CapabilityStatus.values()) System.out.println(c);
public static CapabilityStatus 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 nullCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.