Rule

interface Rule : Ordered

Inheritors

Properties

Link copied to clipboard

If the rule matches, the kind of ConnectorError to produce.

Link copied to clipboard
abstract val group: String?

Optional display message prefix.

Link copied to clipboard
abstract val ordinal: Int

Rule ordinal in the rule set.

Link copied to clipboard
abstract val output: String?

Optional display message.

Link copied to clipboard
abstract val referenceLinks: List<String>

Optional list of reference links to display.

Functions

Link copied to clipboard
open override fun getOrder(): Int
Link copied to clipboard
abstract fun matches(e: Throwable): Boolean

Rule predicate.

Link copied to clipboard
abstract fun validate()

Validates rule definition correctness.