Interface TextValidation.Builder

    • Method Detail

      • minLength

        TextValidation.Builder minLength​(Integer minLength)

        The minimum number of characters for the text field.

        Parameters:
        minLength - The minimum number of characters for the text field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxLength

        TextValidation.Builder maxLength​(Integer maxLength)

        The maximum number of characters for the text field.

        Parameters:
        maxLength - The maximum number of characters for the text field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pattern

        TextValidation.Builder pattern​(String pattern)

        The regular expression used to validate the text field.

        Parameters:
        pattern - The regular expression used to validate the text field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.