public enum DocumentStatus extends java.lang.Enum<DocumentStatus> implements com.yubico.internal.util.json.JsonStringSerializable
Enum Constant and Description |
---|
CANDIDATE_RECOMMENDATION
A candidate recommendation is a specification release candidate.
|
EDITORS_DRAFT
An editor's draft is a changing work in progress.
|
PROPOSED_RECOMMENDATION
A proposed recommendation is a finished draft intended for release.
|
RECOMMENDATION
A recommendation is a finished and released specification.
|
WORKING_DRAFT
A working draft is a named snapshot of a particular state of an editor's draft.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toJsonString()
Used by JSON serializer.
|
static DocumentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentStatus EDITORS_DRAFT
public static final DocumentStatus WORKING_DRAFT
public static final DocumentStatus CANDIDATE_RECOMMENDATION
public static final DocumentStatus PROPOSED_RECOMMENDATION
public static final DocumentStatus RECOMMENDATION
public static DocumentStatus[] values()
for (DocumentStatus c : DocumentStatus.values()) System.out.println(c);
public static DocumentStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toJsonString()
toJsonString
in interface com.yubico.internal.util.json.JsonStringSerializable