|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NodeProblemCategory>
org.mockcentral.editor.nodes.problem.NodeProblemCategory
public enum NodeProblemCategory
An Enum defining the various categories for NodeProblem
instances.
| Enum Constant Summary | |
|---|---|
INVALID_CLASS
Value indicating that a class name is invalid. |
|
INVALID_CONSTANT
Value indicating that a constant or enum value is invalid. |
|
INVALID_CONSTRUCTOR
Value indicating that a constructor definition is invalid. |
|
NON_INTERFACE_METHOD
Value indicating that method definition does not correspond to an interface method for an enclosing class. |
|
NOT_THROWABLE
Value indicating that a class selected for use in a "throws" clause is not a Throwable. |
|
UNKNOWN_PROXY
|
|
UNSPECIFIED
Value indicating an unspecified problem. |
|
| Method Summary | |
|---|---|
NodeProblemSeverity |
getDefaultSeverity()
Returns the NodeProblemSeverity for the value. |
java.lang.String |
getLabel()
Returns the label. |
static NodeProblemCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NodeProblemCategory[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NodeProblemCategory INVALID_CLASS
public static final NodeProblemCategory INVALID_CONSTRUCTOR
public static final NodeProblemCategory UNKNOWN_PROXY
public static final NodeProblemCategory INVALID_CONSTANT
public static final NodeProblemCategory NON_INTERFACE_METHOD
public static final NodeProblemCategory UNSPECIFIED
public static final NodeProblemCategory NOT_THROWABLE
Throwable.
| Method Detail |
|---|
public static NodeProblemCategory[] values()
for (NodeProblemCategory c : NodeProblemCategory.values()) System.out.println(c);
public static NodeProblemCategory 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 name
java.lang.NullPointerException - if the argument is nullpublic NodeProblemSeverity getDefaultSeverity()
NodeProblemSeverity for the value.
NodeProblemSeverity the value.public java.lang.String getLabel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||