Uses of Interface
com.github.zafarkhaja.semver.expr.Expression
-
Packages that use Expression Package Description com.github.zafarkhaja.semver This is the root package of the Java SemVer library.com.github.zafarkhaja.semver.expr This package contains classes that implement the SemVer Expressions. -
-
Uses of Expression in com.github.zafarkhaja.semver
Methods in com.github.zafarkhaja.semver with parameters of type Expression Modifier and Type Method Description boolean
Version. satisfies(Expression expr)
Checks if this version satisfies the specified SemVer Expression. -
Uses of Expression in com.github.zafarkhaja.semver.expr
Classes in com.github.zafarkhaja.semver.expr that implement Expression Modifier and Type Class Description (package private) class
And
Expression for the logical "and" operator.class
CompositeExpression
This class implements internal DSL for the SemVer Expressions using fluent interface.(package private) class
Equal
Expression for the comparison "equal" operator.(package private) class
Greater
Expression for the comparison "greater than" operator.(package private) class
GreaterOrEqual
Expression for the comparison "greater than or equal to" operator.(package private) class
Less
Expression for the comparison "less than" operator.(package private) class
LessOrEqual
Expression for the comparison "less than or equal to" operator.(package private) class
Not
Expression for the logical "negation" operator.(package private) class
NotEqual
Expression for the comparison "not equal" operator.(package private) class
Or
Expression for the logical "or" operator.Fields in com.github.zafarkhaja.semver.expr declared as Expression Modifier and Type Field Description private Expression
Not. expr
The expression to negate.private Expression
CompositeExpression. exprTree
The underlying expression tree.private Expression
And. left
The left-hand operand of expression.private Expression
Or. left
The left-hand operand of expression.private Expression
And. right
The right-hand operand of expression.private Expression
Or. right
The right-hand operand of expression.Methods in com.github.zafarkhaja.semver.expr that return Expression Modifier and Type Method Description Expression
ExpressionParser. parse(java.lang.String input)
Parses the SemVer Expressions.Methods in com.github.zafarkhaja.semver.expr that return types with arguments of type Expression Modifier and Type Method Description static Parser<Expression>
ExpressionParser. newInstance()
Creates and returns new instance of theExpressionParser
class.Methods in com.github.zafarkhaja.semver.expr with parameters of type Expression Modifier and Type Method Description CompositeExpression
CompositeExpression. and(Expression expr)
Adds anotherExpression
toCompositeExpression
usingAnd
logical expression.static CompositeExpression
CompositeExpression.Helper. not(Expression expr)
Creates aCompositeExpression
with an underlyingNot
expression.CompositeExpression
CompositeExpression. or(Expression expr)
Adds anotherExpression
toCompositeExpression
usingOr
logical expression.Constructors in com.github.zafarkhaja.semver.expr with parameters of type Expression Constructor Description And(Expression left, Expression right)
Constructs aAnd
expression with the left-hand and right-hand operands.CompositeExpression(Expression expr)
Constructs aCompositeExpression
with an underlyingExpression
.Not(Expression expr)
Constructs aNot
expression with an expression to negate.Or(Expression left, Expression right)
Constructs aOr
expression with the left-hand and right-hand operands.
-