public static enum RaftServerConstants.StartupOption extends Enum<RaftServerConstants.StartupOption>
| Modifier and Type | Method and Description |
|---|---|
static RaftServerConstants.StartupOption |
getOption(String arg) |
static RaftServerConstants.StartupOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaftServerConstants.StartupOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RaftServerConstants.StartupOption FORMAT
public static final RaftServerConstants.StartupOption REGULAR
public static RaftServerConstants.StartupOption[] values()
for (RaftServerConstants.StartupOption c : RaftServerConstants.StartupOption.values()) System.out.println(c);
public static RaftServerConstants.StartupOption 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 static RaftServerConstants.StartupOption getOption(String arg)
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.