Package hudson.util

Class ComboBoxModel

All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, List<String>, RandomAccess, org.kohsuke.stapler.HttpResponse

public class ComboBoxModel extends ArrayList<String> implements org.kohsuke.stapler.HttpResponse
Model object for dynamically filed combo box, which is really just ArrayList<String>
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • ComboBoxModel

      public ComboBoxModel(int initialCapacity)
    • ComboBoxModel

      public ComboBoxModel()
    • ComboBoxModel

      public ComboBoxModel(Collection<? extends String> c)
    • ComboBoxModel

      public ComboBoxModel(String... values)
  • Method Details

    • generateResponse

      public void generateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) throws IOException, jakarta.servlet.ServletException
      Specified by:
      generateResponse in interface org.kohsuke.stapler.HttpResponse
      Throws:
      IOException
      jakarta.servlet.ServletException