public enum OutageType extends Enum<OutageType>
OutageType class.
Enum Constant and Description |
---|
BOTH |
CURRENT |
RESOLVED |
SUPPRESSED |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final OutageType CURRENT
public static final OutageType RESOLVED
public static final OutageType BOTH
public static final OutageType SUPPRESSED
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 nameNullPointerException
- if the argument is nullpublic String toString()
toString
toString
in class Enum<OutageType>
String
object.protected String getClause()
String
object.public static OutageType getOutageType(String outageTypeString)
getOutageType
outageTypeString
- a String
object.OutageType
object.Copyright © 2020. All rights reserved.