public class HintCommand extends AbstractCommand
Command
。現在のインデックスの後に、すでに入力されている引数のリストが続く状態で呼び出されることを想定しています。コンストラクターと説明 |
---|
HintCommand(CommandRunner commandRunner) |
修飾子と型 | メソッドと説明 |
---|---|
ExitStatus | run(StringSE... args) コマンドを実行。 |
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelp
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public HintCommand(CommandRunner commandRunner)
public ExitStatus run(StringSE... args) throws ExceptionSE
Command
args
- コマンド引数 (これにはコマンド自体は含まれません)ExceptionSE
- コマンドが失敗した場合