OperatorCondition

Represents a condition that compares a specific semantic version against a constraint defined by an operator and a target version.

Inheritors

Properties

Link copied to clipboard
abstract val operator: Operator

Returns the comparison operator used to evaluate the condition.

Link copied to clipboard
abstract val version: Version

Returns the target semantic version to be compared using the operator.

Functions

Link copied to clipboard
abstract fun isSatisfiedBy(version: Version): Boolean

Evaluates whether the specified Version satisfies the condition defined by the implementation.