public static enum PatchLineComment.Status extends java.lang.Enum<PatchLineComment.Status>
Modifier and Type | Method and Description |
---|---|
static PatchLineComment.Status |
forCode(char c) |
char |
getCode() |
static PatchLineComment.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatchLineComment.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchLineComment.Status DRAFT
public static final PatchLineComment.Status PUBLISHED
public static PatchLineComment.Status[] values()
for (PatchLineComment.Status c : PatchLineComment.Status.values()) System.out.println(c);
public static PatchLineComment.Status 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 char getCode()
public static PatchLineComment.Status forCode(char c)