Class ActivateCommand

    • Constructor Detail

      • ActivateCommand

        public ActivateCommand()
        Deprecated.
    • Method Detail

      • deprecationMessage

        public String deprecationMessage​(NoArg arg)
        Deprecated.
        Specified by:
        deprecationMessage in interface Command<NoArg,​NoArg>
        Parameters:
        arg - Command argument.
        Returns:
        Deprecation message if command on the way to being decomissioned.
      • execute

        public NoArg execute​(@Nullable
                             @Nullable GridClient cli,
                             @Nullable
                             @Nullable IgniteClient client,
                             @Nullable
                             @Nullable Ignite ignite,
                             NoArg arg,
                             Consumer<String> printer)
                      throws GridClientException
        Deprecated.
        Executes command logic. Commands invoked in two different environments:
        • CLI utility using GridClient connection to interact with cluster.
        • Inside Ignite node therefore local node can be used to interact with cluster.
        Please, keep in mind that GridClient protocol is obsolete and can be removed in future releases.
        Specified by:
        execute in interface LocalCommand<NoArg,​NoArg>
        Parameters:
        cli - Optional grid client instance.
        ignite - Optional ignite node.
        arg - Command argument.
        printer - Results printer.
        Returns:
        Command result.
        Throws:
        GridClientException