Package com.streamconverter.command
Class CommandConfig
java.lang.Object
com.streamconverter.command.CommandConfig
コマンド設定クラス
CommandFactoryで使用するコマンドの設定情報を保持します。 コマンドクラスとコンストラクタ引数を含みます。
-
Constructor Summary
ConstructorsConstructorDescriptionCommandConfig
(Class<? extends IStreamCommand> commandClass, Object... args) コンストラクタCommandConfig
(Class<? extends IStreamCommand> commandClass, String description, Object... args) 説明付きコンストラクタ -
Method Summary
Modifier and TypeMethodDescriptionObject[]
getArgs()
コンストラクタ引数を取得Class
<? extends IStreamCommand> コマンドクラスを取得コマンドの説明を取得toString()
-
Constructor Details
-
CommandConfig
コンストラクタ- Parameters:
commandClass
- コマンドクラスargs
- コンストラクタ引数
-
CommandConfig
public CommandConfig(Class<? extends IStreamCommand> commandClass, String description, Object... args) 説明付きコンストラクタ- Parameters:
commandClass
- コマンドクラスdescription
- コマンドの説明args
- コンストラクタ引数
-
-
Method Details