Package org.mockserver.slo
Class SloVerdict
java.lang.Object
org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.model.ObjectWithJsonToString
org.mockserver.slo.SloVerdict
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.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()longlonglongwithObjectiveResults(List<SloObjectiveResult> objectiveResults) withResult(SloVerdict.Result result) withSampleCount(long sampleCount) withWindowFromEpochMillis(long windowFromEpochMillis) withWindowToEpochMillis(long windowToEpochMillis) Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toStringMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode
-
Constructor Details
-
SloVerdict
public SloVerdict()
-
-
Method Details
-
getName
-
withName
-
getResult
-
withResult
-
getWindowFromEpochMillis
public long getWindowFromEpochMillis() -
withWindowFromEpochMillis
-
getWindowToEpochMillis
public long getWindowToEpochMillis() -
withWindowToEpochMillis
-
getSampleCount
public long getSampleCount() -
withSampleCount
-
getObjectiveResults
-
withObjectiveResults
-