Interface SelectValidation.Builder

    • Method Detail

      • minChoices

        SelectValidation.Builder minChoices​(Integer minChoices)

        The minimum number of choices for the select.

        Parameters:
        minChoices - The minimum number of choices for the select.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxChoices

        SelectValidation.Builder maxChoices​(Integer maxChoices)

        The maximum number of choices for the select.

        Parameters:
        maxChoices - The maximum number of choices for the select.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • options

        SelectValidation.Builder options​(Collection<String> options)

        An array of strings for the possible selection options.

        Parameters:
        options - An array of strings for the possible selection options.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • options

        SelectValidation.Builder options​(String... options)

        An array of strings for the possible selection options.

        Parameters:
        options - An array of strings for the possible selection options.
        Returns:
        Returns a reference to this object so that method calls can be chained together.