|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OutageType>
org.opennms.web.outage.OutageType
public enum OutageType
OutageType class.
| Enum Constant Summary | |
|---|---|
BOTH
|
|
CURRENT
|
|
RESOLVED
|
|
SUPPRESSED
|
|
| Method Summary | |
|---|---|
protected String |
getClause()
Convenience method for getting the SQL ORDER BY clause related to a given sort style. |
String |
getName()
getName |
static OutageType |
getOutageType(String outageTypeString)
getOutageType |
String |
getShortName()
getShortName |
String |
toString()
toString |
static OutageType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OutageType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OutageType CURRENT
public static final OutageType RESOLVED
public static final OutageType BOTH
public static final OutageType SUPPRESSED
| Method Detail |
|---|
public static OutageType[] values()
for (OutageType c : OutageType.values()) System.out.println(c);
public static OutageType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString
toString in class Enum<OutageType>String object.public String getName()
getName
String object.public String getShortName()
getShortName
String object.protected String getClause()
String object.public static OutageType getOutageType(String outageTypeString)
getOutageType
outageTypeString - a String object.
OutageType object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||