public enum PatchSetState extends java.lang.Enum<PatchSetState>
Enum Constant and Description |
---|
DELETED
Deleted patch set.
|
PUBLISHED
Published and visible to anyone who can see the change; the default.
|
Modifier and Type | Method and Description |
---|---|
static PatchSetState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatchSetState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchSetState PUBLISHED
public static final PatchSetState DELETED
Used internally as a tombstone; patch sets exposed by public NoteDb interfaces never have this state.
public static PatchSetState[] values()
for (PatchSetState c : PatchSetState.values()) System.out.println(c);
public static PatchSetState 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 null