クラス Help

実装済みのインターフェース一覧:
org.springframework.beans.factory.Awareorg.springframework.beans.factory.InitializingBeanorg.springframework.context.ApplicationContextAwareorg.springframework.context.ResourceLoaderAware

@ShellComponent public class Help extends AbstractShellComponent
使用可能なすべてのコマンドに関するヘルプを表示するコマンド。
  • コンストラクターの詳細

  • 方法の詳細

    • help

      @ShellMethod("Display help about available commands") public org.jline.utils.AttributedString help(@ShellOption(defaultValue="__NULL__",valueProvider=CommandValueProvider.class,value={"-C","--command"},help="The command to obtain help for.",arity=2147483647) StringSE[] command) throws IOExceptionSE
      例外:
      IOExceptionSE
    • setCommandTemplate

      public void setCommandTemplate(StringSE commandTemplate)
      テンプレートレンダリングコマンドのヘルプの場所を設定します。
      パラメーター:
      commandTemplate - コマンドテンプレートの場所
    • setCommandsTemplate

      public void setCommandsTemplate(StringSE commandsTemplate)
      テンプレートレンダリングコマンドのヘルプの場所を設定します。
      パラメーター:
      commandsTemplate - コマンドテンプレートの場所
    • setShowGroups

      public void setShowGroups(boolean showGroups)
      リストにグループを表示するかどうかを設定します。デフォルトは true です。有効にしない場合、グループなしの単純なリストが表示されます。
      パラメーター:
      showGroups - グループを表示するフラグ