CommanderValueValidator

A validator for a string-encoded value

Since

0.1.0

See also

Throws

if the value could not be validated

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun accepts(value: String?): Boolean

Check if a CommanderValueValidator accepts a value (Catches the CommanderValueException and returns a boolean)

Link copied to clipboard
open operator fun invoke(value: String?)

Validate a string-encoded value

Link copied to clipboard
abstract fun validate(value: String?)

Validate a string-encoded value