クラス OnEndpointElementCondition

java.lang.ObjectSE
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.actuate.autoconfigure.OnEndpointElementCondition
実装されたすべてのインターフェース:
Condition

public abstract class OnEndpointElementCondition extends SpringBootCondition
ベースエンドポイント要素の条件。要素は、defaults 名を使用してグローバルに無効にすることも、要素の名前を使用して個別に無効にすることもできます。
導入:
2.0.0
作成者:
Stephane Nicoll, Madhura Bhave
  • コンストラクターの詳細

  • メソッドの詳細

    • getMatchOutcome

      public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
      クラスからコピーされた説明: SpringBootCondition
      適切なログ出力とともに、一致の結果を決定します。
      次で指定:
      クラス SpringBootConditiongetMatchOutcome 
      パラメーター:
      context - 条件コンテキスト
      metadata - アノテーションメタデータ
      戻り値:
      状態の結果
    • getEndpointOutcome

      protected ConditionOutcome getEndpointOutcome(ConditionContext context, StringSE endpointName)
    • getDefaultOutcome

      protected ConditionOutcome getDefaultOutcome(ConditionContext context, AnnotationAttributes annotationAttributes)
      プロパティが設定されていない場合に使用する必要があるデフォルトの結果を返します。デフォルトでは、このメソッドは <prefix>.defaults.enabled プロパティを使用し、true であるか、構成されていないかを照合します。
      パラメーター:
      context - 条件コンテキスト
      annotationAttributes - アノテーション属性
      戻り値:
      デフォルトの結果
      導入:
      2.6.0