インタフェース BotCommand<R>

既知の実装クラスのリスト:
AbstractBotCommand, AutoShowUserCommand, AutoTweetCommand

public interface BotCommand<R>
The interface that represents the process of bot command.
導入されたバージョン:
1.0.0
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    R execute​(@NonNull twitter4j.Twitter twitter)
    Executes the bot command and returns the result object.
  • メソッドの詳細

    • execute

      R execute​(@NonNull @NonNull twitter4j.Twitter twitter)
      Executes the bot command and returns the result object.
      パラメータ:
      twitter - The twitter
      戻り値:
      The command result
      例外:
      NullPointerException - If null is passed as an argument