Package hudson.plugins.sectioned_view
Class SectionedView
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.View
hudson.plugins.sectioned_view.SectionedView
- All Implemented Interfaces:
ExtensionPoint
,Describable<View>
,DescriptorByNameOwner
,ModelObject
,Saveable
,SearchableModelObject
,SearchItem
,AccessControlled
,ModelObjectWithChildren
,HasWidgets
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.View
View.PropertyList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.View
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(TopLevelItem item) doCreateItem
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) getItems()
static Result
static boolean
isBuilding
(Job job) void
onJobRenamed
(Item item, String oldName, String newName) void
setSections
(Collection<? extends SectionedViewSection> sections) static Collection
<Job> sortJobs
(Collection<Job> jobs) protected void
submit
(org.kohsuke.stapler.StaplerRequest2 req) Handles the configuration submission.Methods inherited from class hudson.model.View
all, allInstantiable, create, create, createViewFromXML, doCheckJobName, doChildrenContextMenu, doConfigDotXml, doConfigDotXml, doConfigSubmit, doCreateItem, doDoDelete, doItemCategories, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getBuilds, getColumns, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getVisiblePropertyDescriptors, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, makeSearchIndex, registerPermissions, rename, save, setDescription, setFilterExecutors, setFilterQueue, submit, toString, updateByXml, updateTransientActions, writeXml
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByName
Methods inherited from interface jenkins.widgets.HasWidgets
getWidget, getWidgets
Methods inherited from interface jenkins.model.ModelObjectWithChildren
doChildrenContextMenu
-
Constructor Details
-
SectionedView
-
-
Method Details
-
getSections
-
setSections
-
sortJobs
-
isBuilding
-
getResult
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest2 req) throws jakarta.servlet.ServletException, Descriptor.FormException Handles the configuration submission. Load view-specific properties here.- Overrides:
submit
in classView
- Throws:
jakarta.servlet.ServletException
Descriptor.FormException
-
contains
-
doCreateItem
public Item doCreateItem(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException - Overrides:
doCreateItem
in classView
- Throws:
IOException
jakarta.servlet.ServletException
-
getItems
-
onJobRenamed
- Overrides:
onJobRenamed
in classView
-