|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ProblemHandler.Severity>
org.eclipse.ocl.lpg.ProblemHandler.Severity
public static enum ProblemHandler.Severity
Standard problem severities.
| Enum Constant Summary | |
|---|---|
CANCEL
|
|
ERROR
|
|
FATAL
|
|
INFO
|
|
OK
|
|
WARNING
|
|
| Method Summary | |
|---|---|
int |
getDiagnosticSeverity()
|
boolean |
isOK()
Am I the "OK" severity? |
String |
toString()
|
static ProblemHandler.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProblemHandler.Severity[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ProblemHandler.Severity OK
public static final ProblemHandler.Severity INFO
public static final ProblemHandler.Severity WARNING
public static final ProblemHandler.Severity ERROR
public static final ProblemHandler.Severity FATAL
public static final ProblemHandler.Severity CANCEL
| Method Detail |
|---|
public static final ProblemHandler.Severity[] values()
for(ProblemHandler.Severity c : ProblemHandler.Severity.values())
System.out.println(c);
public static ProblemHandler.Severity valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getDiagnosticSeverity()
public boolean isOK()
OKpublic String toString()
toString in class Enum<ProblemHandler.Severity>
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||