クラス 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 ConditionEvaluationReportfind(BeanFactory beanFactory) 指定された Bean ファクトリのConditionEvaluationReportを見つけてください。static ConditionEvaluationReportget(ConfigurableListableBeanFactory beanFactory) 指定された Bean ファクトリのConditionEvaluationReportを取得します。ソースごとにグループ化された、このレポートから条件の結果を返します。getDelta(ConditionEvaluationReport previousReport) 条件評価から除外されたクラスの名前を返します。親レポート(親 BeanFactory(存在する場合)から)。評価されましたが条件付きではなかったクラスの名前を返します。voidrecordConditionEvaluation(StringSE source, Condition condition, ConditionOutcome outcome) 状態評価の発生を記録します。voidrecordEvaluationCandidates(ListSE<StringSE> evaluationCandidates) 条件評価の候補となるクラスの名前を記録します。voidrecordExclusions(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