Class RiskAssessment
java.lang.Object
com.eqixiac.equinix.design.optimizer.model.RiskAssessment
Aggregated risk assessment for the recommended deployment topology.
resiliencyScore is on a 0–100 scale: the engine starts at 100 and
subtracts a fixed penalty per finding (floored at 0), so a lower score means more,
or more severe, findings. overallSeverity is the worst severity present.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbySeverity(RiskSeverity severity) The findings at exactly the given severity.critical()The findings withRiskSeverity.CRITICALseverity.booleanWhether anyCOMPLIANCE_GAPfinding was raised - i.e. a requested compliance zone that no selected metro covers, or a force-included metro outside every requested zone.
-
Constructor Details
-
RiskAssessment
public RiskAssessment()
-
-
Method Details
-
critical
The findings withRiskSeverity.CRITICALseverity.- Returns:
- the critical findings, possibly empty
-
bySeverity
The findings at exactly the given severity.- Parameters:
severity- the severity to filter on- Returns:
- the matching findings, possibly empty
-
hasComplianceGaps
public boolean hasComplianceGaps()Whether anyCOMPLIANCE_GAPfinding was raised - i.e. a requested compliance zone that no selected metro covers, or a force-included metro outside every requested zone.- Returns:
truewhen the deployment leaves a requested compliance zone uncovered
-