クラス Help
java.lang.ObjectSE
org.springframework.shell.standard.AbstractShellComponent
org.springframework.shell.standard.commands.Help
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.Aware、org.springframework.beans.factory.InitializingBean、org.springframework.context.ApplicationContextAware、org.springframework.context.ResourceLoaderAware
使用可能なすべてのコマンドに関するヘルプを表示するコマンド。
ネストされたクラスの概要
ネストされたクラスコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明org.jline.utils.AttributedStringvoidsetCommandsTemplate(StringSE commandsTemplate) テンプレートレンダリングコマンドのヘルプの場所を設定します。voidsetCommandTemplate(StringSE commandTemplate) テンプレートレンダリングコマンドのヘルプの場所を設定します。voidsetShowGroups(boolean showGroups) リストにグループを表示するかどうかを設定します。デフォルトは true です。クラス org.springframework.shell.standard.AbstractShellComponent から継承されたメソッド
afterPropertiesSet, getApplicationContext, getCommandCatalog, getCompletionResolver, getResourceLoader, getShell, getTemplateExecutor, getTerminal, getThemeResolver, getViewComponentBuilder, setApplicationContext, setResourceLoader
コンストラクターの詳細
Help
方法の詳細
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 setCommandTemplate
テンプレートレンダリングコマンドのヘルプの場所を設定します。- パラメーター:
commandTemplate- コマンドテンプレートの場所
setCommandsTemplate
テンプレートレンダリングコマンドのヘルプの場所を設定します。- パラメーター:
commandsTemplate- コマンドテンプレートの場所
setShowGroups
public void setShowGroups(boolean showGroups) リストにグループを表示するかどうかを設定します。デフォルトは true です。有効にしない場合、グループなしの単純なリストが表示されます。- パラメーター:
showGroups- グループを表示するフラグ