パッケージ jakarta.enterprise.event
インターフェース NotificationOptions
public interface NotificationOptions
通知オプションは、オブザーバー通知を構成するために使用されます。
- 導入:
- 2.0
- 作成者:
- Martin Kouba
- 関連事項:
ネストされたクラスの概要
ネストされたクラス方法の概要
修飾子と型メソッド説明static NotificationOptions.Builderbuilder()static NotificationOptionsstatic NotificationOptionsofExecutor(ExecutorSE executor)
方法の詳細
getExecutor
ExecutorSE getExecutor()- 戻り値:
- 非同期イベントの実行に使用されるエグゼキュータ
get
- パラメーター:
optionName- 値を取得するオプションの名前- 戻り値:
- オプションの値、または指定された名前のオプションが存在しない場合は
null
ofExecutor
- パラメーター:
executor- オブザーバー通知を処理するための特定のExecutorSE- 戻り値:
- 遺言執行者の不変の所有者
of
- パラメーター:
optionName- 設定するオプションの名前optionValue- オプションの値- 戻り値:
- 単一オプションの不変のホルダー
builder
- 戻り値:
- オプションビルダー