ScoreBoundsDiagnostic

Error diagnostic emitted when any value of ConfigUnit.PerElemScorable do not conform to the required bounds.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Performs an equality check between this object and other.

Link copied to clipboard
fun DiagnosticPass.handleFailure(pipeline: Pipeline, onWarn: (List<Throwable>) -> Unit = {}, onErr: (List<Throwable>) -> Unit = {})

Verifies whether the pipeline passes this diagnostic as if by calling invoke, and invokes onWarn or onErr depending on whether this diagnostic is a DiagnosticPass.Warning or DiagnosticPass.Error respectively.

Link copied to clipboard
open override fun hashCode(): Int

Hashes this DiagnosticPass object using kotlin.reflect.KClass.hashCode of this class.

Link copied to clipboard
open operator override fun invoke(pipeline: Pipeline): List<Throwable>

Implementation of the diagnostic.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun test(pipeline: Pipeline): Boolean
Link copied to clipboard
fun verify(pipeline: Pipeline)

Verifies whether the pipeline passes this diagnostic as if by calling invoke, and throwing a VerificationException if it does not.