public static final class Event.MigrationOp.ErrorMeasurement
extends java.lang.Object
| Constructor and Description |
|---|
ErrorMeasurement(boolean oldError,
boolean newError)
Construct an error measurement.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMeasurement()
Returns true if there are errors present for either of the origins.
|
boolean |
hasNewError()
Check if there was an error executing the new method.
|
boolean |
hasOldError()
Check if there was an error executing the old method.
|
public ErrorMeasurement(boolean oldError,
boolean newError)
oldError - true if there was an error executing the old methodnewError - true if there was an error executing the new methodpublic boolean hasOldError()
public boolean hasNewError()
public boolean hasMeasurement()