LocatedValidationWarning

@Serializable
@SerialName(value = "warning")
class LocatedValidationWarning @JvmOverloads constructor(val path: AbsolutePath, val code: String, val dependencies: Set<AbsolutePath> = emptySet(), val dependsOnDescendants: Boolean = false, val externalContextDependencies: Set<String> = emptySet(), val data: ValidationIssueData = emptyMap()) : LocatedValidationIssue(source)

Validation warning emitted by a form validator or manager containing location information.

Constructors

Link copied to clipboard
constructor(path: Path, code: String, dependencies: Iterable<Path> = emptySet(), dependsOnDescendants: Boolean = false, externalContextDependencies: Iterable<String> = emptySet(), data: ValidationIssueData = emptyMap())
constructor(path: String, code: String, dependencies: Iterable<String> = emptySet(), dependsOnDescendants: Boolean = false, externalContextDependencies: Iterable<String> = emptySet(), data: ValidationIssueData = emptyMap())
constructor(path: AbsolutePath, code: String, dependencies: Set<AbsolutePath> = emptySet(), dependsOnDescendants: Boolean = false, externalContextDependencies: Set<String> = emptySet(), data: ValidationIssueData = emptyMap())

Properties

Link copied to clipboard
open override val code: String

Code representing the issue.

Link copied to clipboard
open override val data: ValidationIssueData

Additional issue data. This additional data can be used, for example, to help write a user-friendly message associated with the issue.

Link copied to clipboard
open override val dependencies: Set<AbsolutePath>

Paths of values that the validation that produced this issue depends on.

Link copied to clipboard
open override val dependsOnDescendants: Boolean = false

Whether the validation that produced this issue depends on the descendants of the validated value.

Link copied to clipboard

External contexts that the validation that produced this issue depends on.

Link copied to clipboard
open override val path: AbsolutePath

Path of the value containing the issue.

Link copied to clipboard

Severity of the located validation issue.

Functions

Link copied to clipboard

Whether this located validation issue "contains" issue.

Link copied to clipboard

Utility function which converts the paths of a LocatedValidationIssue where table rows are indexed by their index into paths where said rows are indexed by their id in the corresponding table within the provided form value formValue (with schema formSchema).

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