public class AllView extends View
View that contains everything.| Modifier and Type | Class and Description |
|---|---|
static class |
AllView.DescriptorImpl |
View.AsynchPeople, View.People, View.PropertyList, View.UserInfoExtensionPoint.LegacyInstancesAreScopedToHudsonCONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER, transientActions| Constructor and Description |
|---|
AllView(String name) |
AllView(String name,
ViewGroup owner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(TopLevelItem item)
Checks if the job is in this collection.
|
Item |
doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates a new
Item in this collection. |
Collection<TopLevelItem> |
getItems()
Gets all the items in this collection in a read-only view.
|
String |
getPostConstructLandingPage()
Returns the page to redirect the user to, after the view is created.
|
boolean |
isEditable()
By default, return true to render the "Edit view" link on the page.
|
protected void |
submit(org.kohsuke.stapler.StaplerRequest req)
Handles the configuration submission.
|
all, allInstantiable, checkPermission, create, createViewFromXML, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getAsynchPeople, getBuilds, getColumns, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getWidgets, hasPeople, hasPermission, isAutomaticRefreshEnabled, isDefault, isFilterExecutors, isFilterQueue, makeSearchIndex, onJobRenamed, rename, save, toString, updateByXml, updateTransientActions, writeXmlgetSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError@DataBoundConstructor public AllView(String name)
public boolean isEditable()
ViewisEditable in class Viewpublic boolean contains(TopLevelItem item)
Viewpublic Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
ViewItem in this collection.
This method should call ModifiableItemGroup.doCreateItem(StaplerRequest, StaplerResponse)
and then add the newly created item to this view.
doCreateItem in class ViewIOExceptionjavax.servlet.ServletExceptionpublic Collection<TopLevelItem> getItems()
Viewpublic String getPostConstructLandingPage()
ViewgetPostConstructLandingPage in class Viewprotected void submit(org.kohsuke.stapler.StaplerRequest req)
throws IOException,
javax.servlet.ServletException,
Descriptor.FormException
Viewsubmit in class ViewIOExceptionjavax.servlet.ServletExceptionDescriptor.FormExceptionCopyright © 2019. All rights reserved.