public static enum CodeSnippet.Status extends java.lang.Enum<CodeSnippet.Status>
Enum Constant and Description |
---|
DROPPED |
NONEXISTENT |
OVERWRITTEN |
RECOVERABLE_DEFINED |
RECOVERABLE_NOT_DEFINED |
REJECTED |
UNKNOWN |
VALID |
Modifier and Type | Method and Description |
---|---|
boolean |
isActive() |
boolean |
isDefined() |
static CodeSnippet.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeSnippet.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeSnippet.Status VALID
public static final CodeSnippet.Status RECOVERABLE_DEFINED
public static final CodeSnippet.Status RECOVERABLE_NOT_DEFINED
public static final CodeSnippet.Status DROPPED
public static final CodeSnippet.Status OVERWRITTEN
public static final CodeSnippet.Status REJECTED
public static final CodeSnippet.Status NONEXISTENT
public static final CodeSnippet.Status UNKNOWN
public static CodeSnippet.Status[] values()
for (CodeSnippet.Status c : CodeSnippet.Status.values()) System.out.println(c);
public static CodeSnippet.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 boolean isActive()
public boolean isDefined()