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, waitSE
protected AbstractCommand(StringSE name, StringSE description)
AbstractCommand
インスタンスを作成します。name
- コマンドの名前 description
- コマンドの説明 public StringSE getDescription()
Command
Command
の getDescription
public StringSE getUsageHelp()
Command
Command
の getUsageHelp
public StringSE getHelp()
Command
public CollectionSE<OptionHelp> getOptionsHelp()
Command
Command
の getOptionsHelp
public CollectionSE<HelpExample> getExamples()
Command
Command
の getExamples