public enum EnumMode extends Enum<EnumMode>
| Enum Constant and Description |
|---|
DISTRIBUTED
分布式模式.
|
STANDALONE
单机模式.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMode()
获取驱动.
|
static EnumMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumMode STANDALONE
public static final EnumMode DISTRIBUTED
private String mode
public static EnumMode[] values()
for (EnumMode c : EnumMode.values()) System.out.println(c);
public static EnumMode 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 getMode()
Copyright © 2015. All rights reserved.