Class Range
java.lang.Object
org.opensearch.semver.expr.Range
- All Implemented Interfaces:
Expression
Expression to evaluate version compatibility within a specified range with configurable bounds.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanEvaluates an expression.inthashCode()booleanbooleanvoidupdateRange(Range other)
-
Constructor Details
-
Range
public Range() -
Range
-
-
Method Details
-
updateRange
-
evaluate
Description copied from interface:ExpressionEvaluates an expression.- Specified by:
evaluatein interfaceExpression- Parameters:
rangeVersion- the version specified in rangeversionToEvaluate- the version to evaluate- Returns:
- the result of the expression evaluation
-
equals
-
hashCode
-
isIncludeLower
public boolean isIncludeLower() -
isIncludeUpper
public boolean isIncludeUpper() -
getLowerBound
-
getUpperBound
-