LowerBoundCondition

Represents a condition that checks if a version is greater than or equal to a specified version.

Constructors

Link copied to clipboard
constructor(operator: LowerBoundOp, version: Version)

Creates an instance of LowerBoundCondition with the given operator and version.

Properties

Link copied to clipboard
open override val operator: LowerBoundOp

The lower-bound operator to be used for comparison.

Link copied to clipboard
open override val version: Version

The version to be compared against.

Functions

Link copied to clipboard
open operator override fun compareTo(other: BoundCondition): Int
Link copied to clipboard
open override fun isSatisfiedBy(version: Version): Boolean

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

Link copied to clipboard
open override fun negate(): UpperBoundCondition

Returns a new condition that represents the negation of the current condition.