@Deprecated public class DeactivateCommand extends Object implements LocalCommand<DeactivateCommandArg,NoArg>, PreparableCommand<DeactivateCommandArg,NoArg>
CMD_NAME_POSTFIX| Constructor and Description |
|---|
DeactivateCommand()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Class<DeactivateCommandArg> |
argClass()
Deprecated.
|
String |
confirmationPrompt(DeactivateCommandArg arg)
Deprecated.
|
String |
deprecationMessage(DeactivateCommandArg arg)
Deprecated.
|
String |
description()
Deprecated.
Command description.
|
NoArg |
execute(@Nullable GridClient cli,
@Nullable Ignite ignite,
DeactivateCommandArg arg,
Consumer<String> printer)
Deprecated.
Executes command logic.
|
boolean |
prepare(@Nullable GridClient cli,
@Nullable Ignite ignite,
DeactivateCommandArg arg,
Consumer<String> printer)
Deprecated.
Enriches argument with cluster information if required.
|
public String description()
description in interface Command<DeactivateCommandArg,NoArg>public String deprecationMessage(DeactivateCommandArg arg)
deprecationMessage in interface Command<DeactivateCommandArg,NoArg>arg - Command argument.public String confirmationPrompt(DeactivateCommandArg arg)
confirmationPrompt in interface Command<DeactivateCommandArg,NoArg>arg - Command argument.null it means that confirmation is not needed.public NoArg execute(@Nullable @Nullable GridClient cli, @Nullable @Nullable Ignite ignite, DeactivateCommandArg arg, Consumer<String> printer) throws GridClientException
GridClient connection to interact with cluster.Ignite node therefore local node can be used to interact with cluster.GridClient protocol is obsolete and can be removed in future releases.execute in interface LocalCommand<DeactivateCommandArg,NoArg>cli - Optional grid client instance.ignite - Optional ignite node.arg - Command argument.printer - Results printer.GridClientExceptionpublic Class<DeactivateCommandArg> argClass()
argClass in interface Command<DeactivateCommandArg,NoArg>public boolean prepare(@Nullable
@Nullable GridClient cli,
@Nullable
@Nullable Ignite ignite,
DeactivateCommandArg arg,
Consumer<String> printer)
throws GridClientException
prepare in interface PreparableCommand<DeactivateCommandArg,NoArg>cli - Grid client to get required information from cluster.arg - Command argument.printer - Implementation specific printer.True if command must be executed, false otherwise.GridClientException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023