Package dev.fritz2.headless.validation

Types

Link copied to clipboard
open class ComponentValidationMessage(path: String, severity: Severity, message: String, details: String?) : ValidationMessage

Special ValidationMessage for fritz2 headless components.

Link copied to clipboard
enum Severity : Enum<Severity>

Enum which specify the Severity of ComponentValidationMessage.

Functions

Link copied to clipboard
fun <T> Inspector<T>.errorMessage(message: String, details: String? = null): ComponentValidationMessage
fun errorMessage(path: String, message: String, details: String? = null): ComponentValidationMessage
Link copied to clipboard
fun <T> Inspector<T>.infoMessage(message: String, details: String? = null): ComponentValidationMessage
fun infoMessage(path: String, message: String, details: String? = null): ComponentValidationMessage
Link copied to clipboard
fun <T> Inspector<T>.successMessage(message: String, details: String? = null): ComponentValidationMessage
fun successMessage(path: String, message: String, details: String? = null): ComponentValidationMessage
Link copied to clipboard
fun <T> Inspector<T>.warningMessage(message: String, details: String? = null): ComponentValidationMessage
fun warningMessage(path: String, message: String, details: String? = null): ComponentValidationMessage