Class ThresholdApproverSupplier.NumericalPropertyThreshold
java.lang.Object
uk.ac.gda.component.beamline.common.ThresholdApproverSupplier.NumericalPropertyThreshold
- Direct Known Subclasses:
ThresholdApproverSupplier.Above,ThresholdApproverSupplier.Below
- Enclosing class:
ThresholdApproverSupplier
Approves values based on their relation to a specified numerical threshold value
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNumericalPropertyThreshold(String propertyName, double thresholdFallback) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAnApprovedPosition(String position) abstract booleanisAnApprovedValue(double positionValue)
-
Field Details
-
threshold
protected final double threshold
-
-
Constructor Details
-
NumericalPropertyThreshold
-
-
Method Details
-
isAnApprovedPosition
-
isAnApprovedValue
public abstract boolean isAnApprovedValue(double positionValue)
-