public enum CapabilityStatus extends Enum<CapabilityStatus>
Enum Constant and Description |
---|
AVAILABLE
Enum value Available.
|
DEFAULT
Enum value Default.
|
DISABLED
Enum value Disabled.
|
VISIBLE
Enum value Visible.
|
Modifier and Type | Method and Description |
---|---|
static CapabilityStatus |
fromString(String value)
Parses a serialized value to a CapabilityStatus instance.
|
String |
toString() |
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 VISIBLE
public static final CapabilityStatus AVAILABLE
public static final CapabilityStatus DEFAULT
public static final CapabilityStatus DISABLED
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 nullpublic static CapabilityStatus fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<CapabilityStatus>
Copyright © 2019. All rights reserved.