Package-level declarations
Types
Represents a condition with a defined boundary for semantic version constraints. This interface extends the behavior of OperatorCondition by adding comparability.
Interface that provides a framework for formatting constraints represented by a list of conditions.
Interface for parsing conditional expressions into Condition instances.
This class describes a semantic version constraint. It provides ability to verify whether a version satisfies one or more conditions within a constraint.
Constraint throws this exception when the constraint parsing fails due to an invalid format.
Built-in kotlinx.serialization serializer that encodes and decodes a Constraint as its string representation.
The default formatter used to format Constraint instances.
Represents a condition that checks for equality or inequality of a version using the specified equality operator.
Defines equality comparison operators that can be used to evaluate version constraints.
Represents a condition that checks if a version is greater than or equal to a specified version.
Enum representing lower-bound comparison operators used in version constraints.
Built-in kotlinx.serialization serializer that encodes and decodes a Constraint in Maven-style string representation.
A formatter for Maven-style version constraints. This class transforms conditions into a string representation that adheres to the Maven format for version ranges.
A parser that converts Maven-style version range expressions into Condition objects.
Represents a non-intersecting range condition where bounds are pointing in opposite directions.
Represents a condition that compares a specific semantic version against a constraint defined by an operator and a target version.
An interface extending ConditionParser, designed for parsing and preprocessing constraints in conditional expressions.
Represents a composite condition that evaluates whether a Version falls within a specific range defined by a LowerBoundCondition and an UpperBoundCondition.
Represents a condition that checks if a version is less than or equal to a specified version.
Represents the upper-bound comparison operator for version constraints.
Functions
Determines whether the Constraint is satisfied by a Version.
Determines whether the Constraint is satisfied by each Version in a collection.
Determines whether the Constraint is satisfied by at least one Version in a collection.
Parses the string as a Constraint and returns the result or throws a ConstraintFormatException if the string is not a valid representation of a constraint.
Parses the string as a Constraint and returns the result or null if the string is not a valid representation of a constraint.
Parses a maven range string as a Constraint and returns the result or throws a ConstraintFormatException if the string is not a valid representation of a constraint.
Parses a maven range string as a Constraint and returns the result or null if the string is not a valid representation of a constraint.
Converts the current Constraint instance into a Maven-compatible string representation.