Package com.yubico.webauthn.meta
Enum DocumentStatus
- java.lang.Object
-
- java.lang.Enum<DocumentStatus>
-
- com.yubico.webauthn.meta.DocumentStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DocumentStatus>
public enum DocumentStatus extends java.lang.Enum<DocumentStatus>
A representation of Web Authentication specification document statuses.
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
EDITORS_DRAFT
public static final DocumentStatus EDITORS_DRAFT
An editor's draft is a changing work in progress.
-
WORKING_DRAFT
public static final DocumentStatus WORKING_DRAFT
A working draft is a named snapshot of a particular state of an editor's draft.
-
CANDIDATE_RECOMMENDATION
public static final DocumentStatus CANDIDATE_RECOMMENDATION
A candidate recommendation is a specification release candidate.
-
PROPOSED_RECOMMENDATION
public static final DocumentStatus PROPOSED_RECOMMENDATION
A proposed recommendation is a finished draft intended for release.
-
RECOMMENDATION
public static final DocumentStatus RECOMMENDATION
A recommendation is a finished and released specification.
-
-
Method Detail
-
values
public static DocumentStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentStatus c : DocumentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-