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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Version.satisfies(Expression expr)
Checks if this version satisfies the specified SemVer Expression.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeExpression
This class implements internal DSL for the
SemVer Expressions using fluent interface.
|
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionParser.parse(String input)
Parses the SemVer Expressions.
|
Modifier and Type | Method and Description |
---|---|
static Parser<Expression> |
ExpressionParser.newInstance()
Creates and returns new instance of the
ExpressionParser class. |
Modifier and Type | Method and Description |
---|---|
CompositeExpression |
CompositeExpression.and(Expression expr)
Adds another
Expression to CompositeExpression
using And logical expression. |
static CompositeExpression |
CompositeExpression.Helper.not(Expression expr)
Creates a
CompositeExpression with
an underlying Not expression. |
CompositeExpression |
CompositeExpression.or(Expression expr)
Adds another
Expression to CompositeExpression
using Or logical expression. |
Constructor and Description |
---|
CompositeExpression(Expression expr)
Constructs a
CompositeExpression
with an underlying Expression . |
Copyright © 2017. All rights reserved.