Class ThresholdApproverSupplier.NumericalPropertyThreshold

java.lang.Object
uk.ac.gda.component.beamline.common.ThresholdApproverSupplier.NumericalPropertyThreshold
Direct Known Subclasses:
ThresholdApproverSupplier.Above, ThresholdApproverSupplier.Below
Enclosing class:
ThresholdApproverSupplier

public abstract static class ThresholdApproverSupplier.NumericalPropertyThreshold extends Object
Approves values based on their relation to a specified numerical threshold value
  • Field Details

    • threshold

      protected final double threshold
  • Constructor Details

    • NumericalPropertyThreshold

      protected NumericalPropertyThreshold(String propertyName, double thresholdFallback)
  • Method Details

    • isAnApprovedPosition

      protected boolean isAnApprovedPosition(String position)
    • isAnApprovedValue

      public abstract boolean isAnApprovedValue(double positionValue)