Interface Command<A extends IgniteDataTransferObject,​R>

    • Method Detail

      • description

        String description()
        Command description.
      • argClass

        Class<? extends A> argClass()
        Returns:
        Arguments class.
      • confirmationPrompt

        @Nullable
        default @Nullable String confirmationPrompt​(A arg)
        Parameters:
        arg - Command argument.
        Returns:
        Message text to show user for. If null it means that confirmation is not needed.
      • deprecationMessage

        @Nullable
        default @Nullable String deprecationMessage​(A arg)
        Parameters:
        arg - Command argument.
        Returns:
        Deprecation message if command on the way to being decomissioned.