public enum StatusName extends Enum<StatusName>
Enum Constant and Description |
---|
Reachability |
Modifier and Type | Method and Description |
---|---|
static StatusName |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static StatusName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusName Reachability
public static StatusName[] values()
for (StatusName c : StatusName.values()) System.out.println(c);
public static StatusName 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
in class Enum<StatusName>
public static StatusName fromValue(String value)
value
- real valueCopyright © 2010–2020. All rights reserved.