Class CoverageChecker.CoverageResult
java.lang.Object
software.amazon.smithy.rulesengine.analysis.CoverageChecker.CoverageResult
- Enclosing class:
- CoverageChecker
A container for a specific condition's coverage result.
- 
Constructor SummaryConstructorsConstructorDescriptionCoverageResult(Condition condition, boolean result) Constructs a new coverage result container for the given condition and result.
- 
Method SummaryModifier and TypeMethodDescriptionGets the condition that is covered.booleanGets if the condition is covered or not.pretty()Pretty prints this CoverageResult.
- 
Constructor Details- 
CoverageResultConstructs a new coverage result container for the given condition and result.- Parameters:
- condition- the condition being covered.
- result- if the condition is covered by test cases or not.
 
 
- 
- 
Method Details- 
getConditionGets the condition that is covered.- Returns:
- the condition being covered.
 
- 
getResultpublic boolean getResult()Gets if the condition is covered or not.- Returns:
- returns true if the condition is covered, false otherwise.
 
- 
prettyPretty prints this CoverageResult.- Returns:
- A pretty representation of the condition and result.
 
 
-