Package hudson.model
Interface ModifiableItemGroup<T extends Item>
- All Superinterfaces:
ItemGroup<T>
,ModelObject
,PersistenceRoot
,Saveable
- All Known Subinterfaces:
DirectlyModifiableTopLevelItemGroup
,ModifiableTopLevelItemGroup
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 ItemGroup
s compute its member Item
s 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
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault T
doCreateItem
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) The request format follows that of<n:form xmlns:n="/lib/form">
.default T
doCreateItem
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Deprecated.Methods inherited from interface hudson.model.ItemGroup
allItems, allItems, allItems, getAllItems, getAllItems, getAllItems, getFullDisplayName, getFullName, getItem, getItemName, getItems, getItems, getItemsStream, getItemsStream, getRootDirFor, getUrl, getUrlChildPrefix, onDeleted, onRenamed
Methods inherited from interface hudson.model.ModelObject
getDisplayName
Methods inherited from interface hudson.model.PersistenceRoot
getRootDir
-
Method Details
-
doCreateItem
default T doCreateItem(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException The request format follows that of<n:form xmlns:n="/lib/form">
.- Throws:
IOException
jakarta.servlet.ServletException
-
doCreateItem
@Deprecated @StaplerNotDispatchable default T doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException Deprecated.- Throws:
IOException
javax.servlet.ServletException
-
doCreateItem(StaplerRequest2, StaplerResponse2)