hudson.model
Interface ModifiableItemGroup<T extends Item>

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

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

Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Method Summary
 T doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          The request format follows that of &lt;n:form xmlns:n="/lib/form">.
 
Methods inherited from interface hudson.model.ItemGroup
getFullDisplayName, getFullName, getItem, getItems, getRootDirFor, getUrl, getUrlChildPrefix, onDeleted, onRenamed
 
Methods inherited from interface hudson.model.PersistenceRoot
getRootDir
 
Methods inherited from interface hudson.model.Saveable
save
 
Methods inherited from interface hudson.model.ModelObject
getDisplayName
 

Method Detail

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


Copyright © 2004-2013. All Rights Reserved.