Class ConditionEvaluationReport.ConditionAndOutcomes
- java.lang.Object
- org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport.ConditionAndOutcomes
- All Implemented Interfaces:
Iterable<ConditionEvaluationReport.ConditionAndOutcome>
- Enclosing class:
- ConditionEvaluationReport
public static class ConditionEvaluationReport.ConditionAndOutcomes extends Object implements Iterable<ConditionEvaluationReport.ConditionAndOutcome>
Provides access to a number ofConditionEvaluationReport.ConditionAndOutcomeitems.
Constructor Summary
Constructors Constructor Description ConditionAndOutcomes()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(org.springframework.context.annotation.Condition condition, ConditionOutcome outcome)booleanisFullMatch()Returntrueif all outcomes match.Iterator<ConditionEvaluationReport.ConditionAndOutcome>iterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Constructor Detail
ConditionAndOutcomes
public ConditionAndOutcomes()
Method Detail
add
public void add(org.springframework.context.annotation.Condition condition, ConditionOutcome outcome)
isFullMatch
public boolean isFullMatch()
Returntrueif all outcomes match.- Returns:
trueif a full match
iterator
public Iterator<ConditionEvaluationReport.ConditionAndOutcome> iterator()
- Specified by:
iteratorin interfaceIterable<ConditionEvaluationReport.ConditionAndOutcome>