public enum SnapshotSubcommand extends Enum<SnapshotSubcommand>
SnapshotCommand| Enum Constant and Description |
|---|
CANCEL
Sub-command to cancel running snapshot.
|
CREATE
Sub-command to create a cluster snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
static @Nullable SnapshotSubcommand |
of(String text) |
String |
toString() |
static SnapshotSubcommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotSubcommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotSubcommand CREATE
public static final SnapshotSubcommand CANCEL
public static SnapshotSubcommand[] values()
for (SnapshotSubcommand c : SnapshotSubcommand.values()) System.out.println(c);
public static SnapshotSubcommand 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 null@Nullable public static @Nullable SnapshotSubcommand of(String text)
text - Command text (case insensitive).Null if there is no such command.public String toString()
toString in class Enum<SnapshotSubcommand>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020