インターフェース CommandRegistration.TargetSpec
- すべての既知の実装クラス:
CommandRegistration.DefaultTargetSpec
- 含まれているインターフェース:
- CommandRegistration
public static interface CommandRegistration.TargetSpec
ターゲットを定義する仕様。
方法の概要
修飾子と型メソッド説明and()連鎖のためのビルダーを返します。consumer(ConsumerSE<CommandContext> consumer) コンシューマーターゲットを登録します。function(FunctionSE<CommandContext, ?> function) 関数ターゲットを登録します。メソッドターゲットを登録します。メソッドターゲットを登録します。
メソッドの詳細
method
CommandRegistration.TargetSpec method(ObjectSE bean, StringSE method, @Nullable ClassSE<?>... paramTypes) メソッドターゲットを登録します。- パラメーター:
bean- Beanmethod- メソッドparamTypes- パラメーターの型- 戻り値:
- 連鎖のターゲット仕様
method
メソッドターゲットを登録します。- パラメーター:
bean- Beanmethod- メソッド- 戻り値:
- 連鎖のターゲット仕様
function
関数ターゲットを登録します。- パラメーター:
function- 登録する関数- 戻り値:
- 連鎖のターゲット仕様
consumer
コンシューマーターゲットを登録します。- パラメーター:
consumer- 登録するコンシューマー- 戻り値:
- 連鎖のターゲット仕様
and
連鎖のためのビルダーを返します。- 戻り値:
- 連鎖のためのビルダー