Class SnapshotRestoreCommand
- java.lang.Object
-
- org.apache.ignite.internal.management.snapshot.AbstractSnapshotCommand<SnapshotRestoreCommandArg,String>
-
- org.apache.ignite.internal.management.snapshot.SnapshotRestoreCommand
-
- All Implemented Interfaces:
Command<SnapshotRestoreCommandArg,String>,ComputeCommand<SnapshotRestoreCommandArg,String>
public class SnapshotRestoreCommand extends AbstractSnapshotCommand<SnapshotRestoreCommandArg,String>
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description SnapshotRestoreCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<SnapshotRestoreCommandArg>argClass()StringconfirmationPrompt(SnapshotRestoreCommandArg arg)@Nullable StringdeprecationMessage(SnapshotRestoreCommandArg arg)Stringdescription()Command description.Class<SnapshotRestoreTask>taskClass()-
Methods inherited from class org.apache.ignite.internal.management.snapshot.AbstractSnapshotCommand
printResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.management.api.ComputeCommand
handleException, nodes
-
-
-
-
Method Detail
-
description
public String description()
Command description.
-
deprecationMessage
@Nullable public @Nullable String deprecationMessage(SnapshotRestoreCommandArg arg)
- Parameters:
arg- Command argument.- Returns:
- Deprecation message if command on the way to being decomissioned.
-
argClass
public Class<SnapshotRestoreCommandArg> argClass()
- Returns:
- Arguments class.
-
taskClass
public Class<SnapshotRestoreTask> taskClass()
- Returns:
- Task class.
-
confirmationPrompt
public String confirmationPrompt(SnapshotRestoreCommandArg arg)
- Parameters:
arg- Command argument.- Returns:
- Message text to show user for. If
nullit means that confirmation is not needed.
-
-