public enum RevisionAction extends Enum<RevisionAction>
Enum Constant and Description |
---|
Accept
The revision will be displayed if it is of type INSERTION or will be removed if the type is DELETION.
|
None
Nothing to do.
|
Reject
The revision will be removed if it is of type INSERTION or will be displayed if the type is DELETION.
|
Modifier and Type | Method and Description |
---|---|
static RevisionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevisionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevisionAction Accept
public static final RevisionAction None
public static final RevisionAction Reject
public static RevisionAction 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 RevisionAction[] values()
for (RevisionAction c : RevisionAction.values()) System.out.println(c);