Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorMeasurement

        public ErrorMeasurement​(boolean oldError,
                                boolean newError)
        Construct an error measurement.
        Parameters:
        oldError - true if there was an error executing the old method
        newError - true if there was an error executing the new 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