Package hudson.model

Interface ModifiableItemGroup<T extends Item>

All Superinterfaces:
ItemGroup<T>, ModelObject, PersistenceRoot, Saveable
All Known Subinterfaces:
DirectlyModifiableTopLevelItemGroup, ModifiableTopLevelItemGroup
All Known Implementing Classes:
Hudson, Jenkins

public interface ModifiableItemGroup<T extends Item> extends ItemGroup<T>
ItemGroup that is a general purpose container, which allows users and the rest of the program to create arbitrary items into it.

In contrast, some other ItemGroups compute its member Items and the content is read-only, thus it cannot allow external code/user to add arbitrary objects in it.

Since:
1.417
Author:
Kohsuke Kawaguchi
  • Method Details

    • doCreateItem

      T doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
      The request format follows that of &lt;n:form xmlns:n="/lib/form">.
      Throws:
      IOException
      javax.servlet.ServletException