public enum CompletionStatus extends Enum<CompletionStatus> implements Serializable
Java class for completionStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="completionStatus"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="32"/> <whiteSpace value="collapse"/> <enumeration value="status:complete"/> <enumeration value="status:fromKey_incomplete"/> <enumeration value="status:toKey_incomplete"/> <enumeration value="status:both_incomplete"/> </restriction> </simpleType>
Enum Constant and Description |
---|
STATUS_BOTH_INCOMPLETE |
STATUS_COMPLETE |
STATUS_FROM_KEY_INCOMPLETE |
STATUS_TO_KEY_INCOMPLETE |
Modifier and Type | Method and Description |
---|---|
static CompletionStatus |
fromValue(String v) |
String |
value() |
static CompletionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompletionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionStatus STATUS_COMPLETE
public static final CompletionStatus STATUS_FROM_KEY_INCOMPLETE
public static final CompletionStatus STATUS_TO_KEY_INCOMPLETE
public static final CompletionStatus STATUS_BOTH_INCOMPLETE
public static CompletionStatus[] values()
for (CompletionStatus c : CompletionStatus.values()) System.out.println(c);
public static CompletionStatus 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 value()
public static CompletionStatus fromValue(String v)
Copyright © 2018 JBoss by Red Hat. All rights reserved.