public abstract class AbstractCommand extends ObjectSE implements Command
Command の抽象的な実装。| 修飾子 | コンストラクターと説明 |
|---|---|
protected | AbstractCommand(StringSE name, StringSE description) 新しい AbstractCommand インスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getDescription() コマンドの説明を返します。 |
CollectionSE<HelpExample> | getExamples() コマンドのいくつかの例を返します。 |
StringSE | getHelp() コマンドの完全なヘルプテキストを取得します。 |
StringSE | getName() コマンドの名前を返します。 |
CollectionSE<OptionHelp> | getOptionsHelp() サポートされている各オプションのヘルプを返します。 |
StringSE | getUsageHelp() コマンドの使用箇所のヘルプを返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected AbstractCommand(StringSE name, StringSE description)
AbstractCommand インスタンスを作成します。name - コマンドの名前 description - コマンドの説明 public StringSE getDescription()
CommandCommand の getDescription public StringSE getUsageHelp()
CommandCommand の getUsageHelp public StringSE getHelp()
Commandpublic CollectionSE<OptionHelp> getOptionsHelp()
CommandCommand の getOptionsHelp public CollectionSE<HelpExample> getExamples()
CommandCommand の getExamples