Class RiskAssessment

java.lang.Object
com.eqixiac.equinix.design.optimizer.model.RiskAssessment

public class RiskAssessment extends Object
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 Details

    • RiskAssessment

      public RiskAssessment()
  • Method Details

    • critical

      public List<RiskFinding> critical()
      The findings with RiskSeverity.CRITICAL severity.
      Returns:
      the critical findings, possibly empty
    • bySeverity

      public List<RiskFinding> bySeverity(RiskSeverity severity)
      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 any COMPLIANCE_GAP finding was raised - i.e. a requested compliance zone that no selected metro covers, or a force-included metro outside every requested zone.
      Returns:
      true when the deployment leaves a requested compliance zone uncovered