Uses of Interface
com.github.zafarkhaja.semver.expr.Expression
Packages that use Expression
Package
Description
This is the root package of the Java SemVer library.
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 ExpressionModifier and TypeMethodDescriptionboolean
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 ExpressionModifier and TypeClassDescription(package private) class
Expression for the logical "and" operator.class
This class implements internal DSL for the SemVer Expressions using fluent interface.(package private) class
Expression for the comparison "equal" operator.(package private) class
Expression for the comparison "greater than" operator.(package private) class
Expression for the comparison "greater than or equal to" operator.(package private) class
Expression for the comparison "less than" operator.(package private) class
Expression for the comparison "less than or equal to" operator.(package private) class
Expression for the logical "negation" operator.(package private) class
Expression for the comparison "not equal" operator.(package private) class
Expression for the logical "or" operator.Fields in com.github.zafarkhaja.semver.expr declared as ExpressionModifier and TypeFieldDescriptionprivate final Expression
Not.expr
The expression to negate.private Expression
CompositeExpression.exprTree
The underlying expression tree.private final Expression
And.left
The left-hand operand of expression.private final Expression
Or.left
The left-hand operand of expression.private final Expression
And.right
The right-hand operand of expression.private final Expression
Or.right
The right-hand operand of expression.Methods in com.github.zafarkhaja.semver.expr that return ExpressionModifier and TypeMethodDescriptionParses the SemVer Expressions.Methods in com.github.zafarkhaja.semver.expr that return types with arguments of type ExpressionModifier and TypeMethodDescriptionstatic Parser
<Expression> ExpressionParser.newInstance()
Creates and returns new instance of theExpressionParser
class.Methods in com.github.zafarkhaja.semver.expr with parameters of type ExpressionModifier and TypeMethodDescriptionCompositeExpression.and
(Expression expr) Adds anotherExpression
toCompositeExpression
usingAnd
logical expression.static CompositeExpression
CompositeExpression.Helper.not
(Expression expr) Creates aCompositeExpression
with an underlyingNot
expression.CompositeExpression.or
(Expression expr) Adds anotherExpression
toCompositeExpression
usingOr
logical expression.Constructors in com.github.zafarkhaja.semver.expr with parameters of type ExpressionModifierConstructorDescription(package private)
And
(Expression left, Expression right) Constructs aAnd
expression with the left-hand and right-hand operands.Constructs aCompositeExpression
with an underlyingExpression
.(package private)
Not
(Expression expr) Constructs aNot
expression with an expression to negate.(package private)
Or
(Expression left, Expression right) Constructs aOr
expression with the left-hand and right-hand operands.