Package hudson.util

Class ListBoxModel.Option

  • Enclosing class:
    ListBoxModel

    @ExportedBean(defaultVisibility=999)
    public static final class ListBoxModel.Option
    extends Object
    • Field Detail

      • name

        @Exported
        @NonNull
        public String name
        Text to be displayed to user.
      • value

        @Exported
        @NonNull
        public String value
        The value that gets sent to the server when the form is submitted.
      • selected

        @Exported
        public boolean selected
        True to make this item selected.
    • Constructor Detail

      • Option

        public Option​(@NonNull
                      String name,
                      @NonNull
                      String value)
      • Option

        public Option​(@NonNull
                      String name)
      • Option

        public Option​(@NonNull
                      String name,
                      @NonNull
                      String value,
                      boolean selected)