Package hudson.model
Interface ModifiableItemGroup<T extends Item>
- All Superinterfaces:
FullyNamed,FullyNamedModelObject,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 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
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault TdoCreateItem(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) The request format follows that of<n:form xmlns:n="/lib/form">.default TdoCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Deprecated.Methods inherited from interface jenkins.model.FullyNamed
getFullNameMethods inherited from interface jenkins.model.FullyNamedModelObject
getFullDisplayNameMethods inherited from interface hudson.model.ItemGroup
allItems, allItems, allItems, getAllItems, getAllItems, getAllItems, getItem, getItemName, getItems, getItems, getItemsStream, getItemsStream, getRootDirFor, getUrl, getUrlChildPrefix, onDeleted, onRenamedMethods inherited from interface hudson.model.ModelObject
getDisplayNameMethods 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:
IOExceptionjakarta.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:
IOExceptionjavax.servlet.ServletException
-
doCreateItem(StaplerRequest2, StaplerResponse2)