public static enum GHNContext.Mode extends Enum<GHNContext.Mode>
| Enum Constant and Description |
|---|
CONNECTED |
ROOT |
STANDALONE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static GHNContext.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GHNContext.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GHNContext.Mode STANDALONE
public static final GHNContext.Mode CONNECTED
public static final GHNContext.Mode ROOT
public static GHNContext.Mode[] values()
for (GHNContext.Mode c : GHNContext.Mode.values()) System.out.println(c);
public static GHNContext.Mode 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<GHNContext.Mode>Copyright © 2015. All Rights Reserved.