クラス IncludeExcludeEndpointFilter<E extends ExposableEndpoint<?>>
java.lang.ObjectSE
org.springframework.boot.actuate.autoconfigure.endpoint.expose.IncludeExcludeEndpointFilter<E>
- 型パラメーター:
E
- エンドポイント型
- 実装されたすべてのインターフェース:
EndpointFilter<E>
public class IncludeExcludeEndpointFilter<E extends ExposableEndpoint<?>>
extends ObjectSE
implements EndpointFilter<E>
- 導入:
- 2.2.7
- 作成者:
- Phillip Webb
コンストラクターのサマリー
コンストラクターコンストラクター説明IncludeExcludeEndpointFilter
(ClassSE<E> endpointType, CollectionSE<StringSE> include, CollectionSE<StringSE> exclude, StringSE... defaultIncludes) 特定の包含 / 除外ルールを使用して新しいIncludeExcludeEndpointFilter
を作成します。IncludeExcludeEndpointFilter
(ClassSE<E> endpointType, Environment environment, StringSE prefix, StringSE... defaultIncludes) Environment
からバインド / 除外ルールをバインドして、新しいIncludeExcludeEndpointFilter
を作成します。メソッドのサマリー
修飾子と型メソッド説明boolean
フィルターが一致する場合、true
を返します。final boolean
match
(EndpointId endpointId) フィルターが一致する場合、true
を返します。
コンストラクターの詳細
IncludeExcludeEndpointFilter
public IncludeExcludeEndpointFilter(ClassSE<E> endpointType, Environment environment, StringSE prefix, StringSE... defaultIncludes) Environment
からバインド / 除外ルールをバインドして、新しいIncludeExcludeEndpointFilter
を作成します。- パラメーター:
endpointType
- 考慮すべきエンドポイント型 (他の型は常に一致します)environment
- プロパティを含む環境prefix
- バインドするプロパティプレフィックスdefaultIncludes
- 何も指定されていない場合に使用するデフォルトのincludes
。
IncludeExcludeEndpointFilter
public IncludeExcludeEndpointFilter(ClassSE<E> endpointType, CollectionSE<StringSE> include, CollectionSE<StringSE> exclude, StringSE... defaultIncludes) 特定の包含 / 除外ルールを使用して新しいIncludeExcludeEndpointFilter
を作成します。- パラメーター:
endpointType
- 考慮すべきエンドポイント型 (他の型は常に一致します)include
- インクルードパターンexclude
- 除外パターンdefaultIncludes
- 何も指定されていない場合に使用するデフォルトのincludes
。
メソッドの詳細
match
インターフェースからコピーされた説明:EndpointFilter
フィルターが一致する場合、true
を返します。- 次で指定:
- インターフェース
EndpointFilter<E extends ExposableEndpoint<?>>
のmatch
- パラメーター:
endpoint
- チェックするエンドポイント- 戻り値:
- フィルターが一致する場合は
true
match
フィルターが一致する場合、true
を返します。- パラメーター:
endpointId
- チェックするエンドポイント ID- 戻り値:
- フィルターが一致する場合は
true
- 導入:
- 2.6.0