public enum TopologyModeOption extends Enum<TopologyModeOption> implements CmdLineOptionsProvider
Enum Constant and Description |
---|
LOCAL
Construct a local cluster
|
STORM
Submit to the specified Storm cluster
|
Modifier and Type | Method and Description |
---|---|
abstract TopologyMode |
getOptions() |
static TopologyModeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopologyModeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopologyModeOption STORM
public static final TopologyModeOption LOCAL
public static TopologyModeOption[] values()
for (TopologyModeOption c : TopologyModeOption.values()) System.out.println(c);
public static TopologyModeOption 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 abstract TopologyMode getOptions()
getOptions
in interface CmdLineOptionsProvider