インターフェース CommandExecution

すべての既知の実装クラス:
CommandExecution.DefaultCommandExecution

public interface CommandExecution
引数付きのコマンドからの結果を評価するためのインターフェース。
  • メソッドの詳細

    • evaluate

      ObjectSE evaluate(StringSE[] args)
      指定された引数でコマンドを評価します。
      パラメーター:
      args - コマンド引数
      戻り値:
      評価された実行
    • of

      static CommandExecution of(ListSE<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers)
      デフォルトの CommandExecution のインスタンスを取得します。
      パラメーター:
      resolvers - ハンドラーメソッドの引数リゾルバー
      戻り値:
      デフォルトのコマンド実行
    • of

      static CommandExecution of(ListSE<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, ShellContext shellContext, org.springframework.core.convert.ConversionService conversionService)
      デフォルトの CommandExecution のインスタンスを取得します。
      パラメーター:
      resolvers - ハンドラーメソッドの引数リゾルバー
      validator - バリデーター
      terminal - ターミナル
      conversionService - 変換サービス
      戻り値:
      デフォルトのコマンド実行
    • of

      static CommandExecution of(ListSE<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, ShellContext shellContext, org.springframework.core.convert.ConversionService conversionService, CommandCatalog commandCatalog)
      デフォルトの CommandExecution のインスタンスを取得します。
      パラメーター:
      resolvers - ハンドラーメソッドの引数リゾルバー
      validator - バリデーター
      terminal - ターミナル
      conversionService - 変換サービス
      戻り値:
      デフォルトのコマンド実行