Interface FormFieldWithOptions.Builder<B extends FormField.Builder<?,?>>

All Known Implementing Classes:
ListMultiFormField.Builder, ListSingleFormField.Builder
Enclosing interface:
FormFieldWithOptions

public static interface FormFieldWithOptions.Builder<B extends FormField.Builder<?,?>>
  • Method Summary

    Modifier and Type
    Method
    Description
    default B
    addOption(String option)
     
    Adds an available options to the question that the user has in order to answer the question.
  • Method Details

    • addOption

      default B addOption(String option)
    • addOption

      Adds an available options to the question that the user has in order to answer the question.
      Parameters:
      option - a new available option for the question.
      Returns:
      a reference to this builder.