Class SloVerdict


public class SloVerdict extends ObjectWithJsonToString
The resilience verdict produced by SloEvaluator for one SloCriteria. The top-level result is the AND of the per-objective results: any SloVerdict.Result.FAIL → FAIL; otherwise any SloVerdict.Result.INCONCLUSIVE (including a below-minimum-samples window) → INCONCLUSIVE; otherwise SloVerdict.Result.PASS.
  • Constructor Details

    • SloVerdict

      public SloVerdict()
  • Method Details

    • getName

      public String getName()
    • withName

      public SloVerdict withName(String name)
    • getResult

      public SloVerdict.Result getResult()
    • withResult

      public SloVerdict withResult(SloVerdict.Result result)
    • getWindowFromEpochMillis

      public long getWindowFromEpochMillis()
    • withWindowFromEpochMillis

      public SloVerdict withWindowFromEpochMillis(long windowFromEpochMillis)
    • getWindowToEpochMillis

      public long getWindowToEpochMillis()
    • withWindowToEpochMillis

      public SloVerdict withWindowToEpochMillis(long windowToEpochMillis)
    • getSampleCount

      public long getSampleCount()
    • withSampleCount

      public SloVerdict withSampleCount(long sampleCount)
    • getObjectiveResults

      public List<SloObjectiveResult> getObjectiveResults()
    • withObjectiveResults

      public SloVerdict withObjectiveResults(List<SloObjectiveResult> objectiveResults)