Package jenkins.branch
Class BaseEmptyView
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.View
jenkins.branch.BaseEmptyView
- All Implemented Interfaces:
ExtensionPoint
,Describable<View>
,DescriptorByNameOwner
,ModelObject
,Saveable
,SearchableModelObject
,SearchItem
,AccessControlled
,ModelObjectWithChildren
,HasWidgets
- Direct Known Subclasses:
MultiBranchProjectEmptyView
,OrganizationFolderEmptyView
Holds the basic 'empty view' parent
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.View
View.AsynchPeople, View.People, View.PropertyList, View.UserInfo
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.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) final boolean
Equal to any view of the same class and owner.getItems()
final int
hashCode()
boolean
boolean
void
onJobRenamed
(Item item, String oldName, String newName) protected void
submit
(org.kohsuke.stapler.StaplerRequest req) Methods inherited from class hudson.model.View
all, allInstantiable, create, createViewFromXML, doCheckJobName, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doItemCategories, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getAsynchPeople, getBuilds, getColumns, getComputers, getDescription, getDescriptor, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getVisiblePropertyDescriptors, hasPeople, isAutomaticRefreshEnabled, isFilterExecutors, isFilterQueue, makeSearchIndex, makeSearchIndex, registerPermissions, rename, save, setDescription, setFilterExecutors, setFilterQueue, toString, updateByXml, updateTransientActions, writeXml
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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
-
Field Details
-
VIEW_NAME
The empty view name- See Also:
-
-
Constructor Details
-
BaseEmptyView
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classView
-
isDefault
public boolean isDefault() -
isEditable
public boolean isEditable()- Overrides:
isEditable
in classView
-
equals
Equal to any view of the same class and owner. -
hashCode
public final int hashCode() -
getItems
-
contains
-
onJobRenamed
- Overrides:
onJobRenamed
in classView
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException, Descriptor.FormException - Specified by:
submit
in classView
- Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
-
doCreateItem
public Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException - Specified by:
doCreateItem
in classView
- Throws:
IOException
javax.servlet.ServletException
-