Class Event.MigrationOp.ErrorMeasurement
- java.lang.Object
-
- com.launchdarkly.sdk.internal.events.Event.MigrationOp.ErrorMeasurement
-
- Enclosing class:
- Event.MigrationOp
public static final class Event.MigrationOp.ErrorMeasurement extends java.lang.Object
Error measurement for a migration operation.
-
-
Constructor Summary
Constructors Constructor Description ErrorMeasurement(boolean oldError, boolean newError)
Construct an error measurement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
hasOldError
public boolean hasOldError()
Check if there was an error executing the old method.- Returns:
- true if there was an error executing the old method
-
hasNewError
public boolean hasNewError()
Check if there was an error executing the new method.- Returns:
- true if there was an error executing the new method
-
hasMeasurement
public boolean hasMeasurement()
Returns true if there are errors present for either of the origins.- Returns:
- true if errors are present
-
-