public abstract class AbstractCli
extends java.lang.Object| コンストラクターと説明 |
|---|
AbstractCli() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected void | doMain(java.lang.String[] args) 実装クラスから呼び出されるメインメソッド。 |
protected java.lang.String | getMainCommandName() デフォルトがユーザーの CLI 実装に適していない場合に上書きできるメインコマンド名を取得します。 |
protected void | handleRunnerExitCode(org.springframework.boot.cli.command.CommandRunner runner, int exitCode) |
protected void | registerCommand(org.springframework.boot.cli.command.Command command) コマンドを登録します。 |
protected void | registerCommands(java.util.List<org.springframework.boot.cli.command.Command> commands) コマンドを登録します。 |
protected void registerCommand(org.springframework.boot.cli.command.Command command)
command - コマンド protected void registerCommands(java.util.List<org.springframework.boot.cli.command.Command> commands)
commands - コマンド protected void doMain(java.lang.String[] args)
args - プログラム引数 protected void handleRunnerExitCode(org.springframework.boot.cli.command.CommandRunner runner,
int exitCode)protected java.lang.String getMainCommandName()