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.ConditionAndOutcome
items.
Constructor Summary
Constructors Constructor Description ConditionAndOutcomes()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(org.springframework.context.annotation.Condition condition, ConditionOutcome outcome)
boolean
isFullMatch()
Returntrue
if 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()
Returntrue
if all outcomes match.- Returns:
true
if a full match
iterator
public Iterator<ConditionEvaluationReport.ConditionAndOutcome> iterator()
- Specified by:
iterator
in interfaceIterable<ConditionEvaluationReport.ConditionAndOutcome>