PasswordCollector

Class representing a PASSWORD Type.

This class inherits from the FieldCollector class and implements the Closeable and Collector interfaces. It is used to collect password data.

Constructors

Link copied to clipboard
constructor()

Creates a new PasswordCollector with the given input.

Properties

Link copied to clipboard
Link copied to clipboard
open lateinit override var continueNode: ContinueNode

The continue node for the DaVinci flow.

Functions

Link copied to clipboard
open override fun close()

Overrides the close function from the Closeable interface. It is used to clear the value of the password field when the collector is closed. If the clearPassword flag is set to true, the value of the password field will be cleared.

Link copied to clipboard
open override fun validate(): List<ValidationError>

Function to validate the password field.