org.pentaho.di.trans.steps.numberrange
Class NumberRangeRule
java.lang.Object
org.pentaho.di.trans.steps.numberrange.NumberRangeRule
public class NumberRangeRule
- extends Object
Contains one rule for a number range
- Author:
- ronny.roeller@fredhopper.com
NumberRangeRule
public NumberRangeRule(double lowerBound,
double upperBound,
String value)
evaluate
public String evaluate(double compareValue)
- Evaluates if the current value is within the range. If so, it returns the
value. Otherwise it returns null.
getLowerBound
public double getLowerBound()
getUpperBound
public double getUpperBound()
getValue
public String getValue()