AbstractValidatedCallback

Callbacks that accept user input often need to validate that input either on the client side, the server side or both. Such callbacks should extend this base class.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Return the list of failed policies for this callback.

Link copied to clipboard
var policies: JsonObject

Return the validation policies that should be applied to the input collected by this callback. These policies are represented by a name string.

Link copied to clipboard

Return the prompt message associated with this callback.

Link copied to clipboard

Return whether the node should only validate the input or should advance the journey if validation succeeds.

Functions

Link copied to clipboard
fun error(): String
fun error(prompt: String): String
Link copied to clipboard
protected open override fun init(name: String, value: JsonElement)