クラス ConditionEvaluationReport
java.lang.ObjectSE
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport
レポートおよびロギングの状態評価の詳細を記録します。
- 導入:
- 1.0.0
- 作成者:
- Greg Turnquist, Dave Syer, Phillip Webb, Andy Wilkinson, Stephane Nicoll
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明static class
単一のCondition
およびConditionOutcome
へのアクセスを提供します。static class
多くのConditionEvaluationReport.ConditionAndOutcome
アイテムへのアクセスを提供します。方法の概要
修飾子と型メソッド説明static ConditionEvaluationReport
find
(BeanFactory beanFactory) 指定された Bean ファクトリのConditionEvaluationReport
を見つけてください。static ConditionEvaluationReport
get
(ConfigurableListableBeanFactory beanFactory) 指定された Bean ファクトリのConditionEvaluationReport
を取得します。ソースごとにグループ化された、このレポートから条件の結果を返します。getDelta
(ConditionEvaluationReport previousReport) 条件評価から除外されたクラスの名前を返します。親レポート(親 BeanFactory(存在する場合)から)。評価されましたが条件付きではなかったクラスの名前を返します。void
recordConditionEvaluation
(StringSE source, Condition condition, ConditionOutcome outcome) 状態評価の発生を記録します。void
recordEvaluationCandidates
(ListSE<StringSE> evaluationCandidates) 条件評価の候補となるクラスの名前を記録します。void
recordExclusions
(CollectionSE<StringSE> exclusions) 条件評価から除外されたクラスの名前を記録します。
メソッドの詳細
recordConditionEvaluation
public void recordConditionEvaluation(StringSE source, Condition condition, ConditionOutcome outcome) 状態評価の発生を記録します。- パラメーター:
source
- 状態の原因 (クラスまたはメソッド名)condition
- 評価された状態outcome
- 状態の結果
recordExclusions
条件評価から除外されたクラスの名前を記録します。- パラメーター:
exclusions
- 除外されたクラスの名前
recordEvaluationCandidates
条件評価の候補となるクラスの名前を記録します。- パラメーター:
evaluationCandidates
- 条件が評価されるクラスの名前
getConditionAndOutcomesBySource
public MapSE<StringSE,ConditionEvaluationReport.ConditionAndOutcomes> getConditionAndOutcomesBySource()ソースごとにグループ化された、このレポートから条件の結果を返します。- 戻り値:
- 状態の結果
getExclusions
条件評価から除外されたクラスの名前を返します。- 戻り値:
- 除外されたクラスの名前
getUnconditionalClasses
評価されましたが条件付きではなかったクラスの名前を返します。- 戻り値:
- 無条件クラスの名前
getParent
親レポート(親 BeanFactory(存在する場合)から)。- 戻り値:
- 親レポート (ない場合は null)
find
指定された Bean ファクトリのConditionEvaluationReport
を見つけてください。- パラメーター:
beanFactory
- Bean ファクトリ (null
の場合があります)- 戻り値:
ConditionEvaluationReport
またはnull
get
指定された Bean ファクトリのConditionEvaluationReport
を取得します。- パラメーター:
beanFactory
- Bean ファクトリ- 戻り値:
- 既存または新規の
ConditionEvaluationReport
getDelta