クラス 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>
include および exclude パターンに基づいてエンドポイントをフィルターする EndpointFilter
導入:
2.2.7
作成者:
Phillip Webb
  • コンストラクターの詳細

    • 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

      public boolean match(E endpoint)
      インターフェースからコピーされた説明: EndpointFilter
      フィルターが一致する場合、true を返します。
      次で指定:
      インターフェース EndpointFilter<E extends ExposableEndpoint<?>>match 
      パラメーター:
      endpoint - チェックするエンドポイント
      戻り値:
      フィルターが一致する場合は true 
    • match

      public final boolean match(EndpointId endpointId)
      フィルターが一致する場合、true を返します。
      パラメーター:
      endpointId - チェックするエンドポイント ID
      戻り値:
      フィルターが一致する場合は true 
      導入:
      2.6.0