public interface PreparableCommand<A extends IgniteDataTransferObject,R> extends Command<A,R>
CMD_NAME_POSTFIX| Modifier and Type | Method and Description |
|---|---|
boolean |
prepare(@Nullable GridClient cli,
@Nullable Ignite ignite,
A arg,
Consumer<String> printer)
Enriches argument with cluster information if required.
|
argClass, confirmationPrompt, deprecationMessage, descriptionboolean prepare(@Nullable
@Nullable GridClient cli,
@Nullable
@Nullable Ignite ignite,
A arg,
Consumer<String> printer)
throws GridClientException
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