public enum AnnotationStatus extends Enum<AnnotationStatus> implements Serializable
| Enum Constant and Description |
|---|
Actioned
The request has been actioned.
|
Approved
The annotation has been approved.
|
Ignore
The annotation should be ignored.
|
Invalid
The annotation is invalid or incorrect.
|
New
The annotation is new.
|
Other
Another status.
|
Reviewed
The annotation has been reviewed by a steward.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the AnnotationStatus enum instance
|
int |
getOrdinal()
Return the numerical value for the enum.
|
static AnnotationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationStatus New
public static final AnnotationStatus Reviewed
public static final AnnotationStatus Approved
public static final AnnotationStatus Actioned
public static final AnnotationStatus Invalid
public static final AnnotationStatus Ignore
public static final AnnotationStatus Other
public static AnnotationStatus[] values()
for (AnnotationStatus c : AnnotationStatus.values()) System.out.println(c);
public static AnnotationStatus 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 int getOrdinal()
public String getDescription()
public String getName()
Copyright © 2018–2019 ODPi. All rights reserved.