public enum SnapshotSubcommands extends Enum<SnapshotSubcommands>
SnapshotCommand,
SnapshotSubcommand| Enum Constant and Description |
|---|
CANCEL
Sub-command to cancel running snapshot.
|
CHECK
Sub-command to check snapshot.
|
CREATE
Sub-command to create a cluster snapshot.
|
RESTORE
Sub-command to restore snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
static SnapshotSubcommands |
of(String name) |
SnapshotSubcommand |
subCommand() |
String |
toString() |
static SnapshotSubcommands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotSubcommands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotSubcommands CREATE
public static final SnapshotSubcommands CANCEL
public static final SnapshotSubcommands CHECK
public static final SnapshotSubcommands RESTORE
public static SnapshotSubcommands[] values()
for (SnapshotSubcommands c : SnapshotSubcommands.values()) System.out.println(c);
public static SnapshotSubcommands 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 SnapshotSubcommands of(String name)
name - Command name (case insensitive).public SnapshotSubcommand subCommand()
public String toString()
toString in class Enum<SnapshotSubcommands>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022