public class ProxyView extends View implements org.kohsuke.stapler.StaplerFallback
Modifier and Type | Class and Description |
---|---|
static class |
ProxyView.DescriptorImpl |
View.AsynchPeople, View.People, View.PropertyList, View.UserInfo
ExtensionPoint.LegacyInstancesAreScopedToHudson
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER
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. |
FormValidation |
doViewExistsCheck(String value)
Fails if a global view with the given name does not exist.
|
TopLevelItem |
getItem(String name)
Gets the
TopLevelItem of the given name. |
Collection<TopLevelItem> |
getItems()
Gets all the items in this collection in a read-only view.
|
View |
getProxiedView() |
String |
getProxiedViewName() |
Object |
getStaplerFallback() |
void |
setProxiedViewName(String proxiedViewName) |
protected void |
submit(org.kohsuke.stapler.StaplerRequest req)
Handles the configuration submission.
|
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, getDisplayName, getDynamic, getIndenter, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getVisiblePropertyDescriptors, getWidgets, hasPeople, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, makeSearchIndex, onJobRenamed, rename, save, setDescription, toString, updateByXml, updateTransientActions, writeXml
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
@DataBoundConstructor public ProxyView(String name)
public View getProxiedView()
public String getProxiedViewName()
public void setProxiedViewName(String proxiedViewName)
public Collection<TopLevelItem> getItems()
View
public boolean contains(TopLevelItem item)
View
public TopLevelItem getItem(String name)
View
TopLevelItem
of the given name.protected void submit(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException, Descriptor.FormException
View
submit
in class View
IOException
javax.servlet.ServletException
Descriptor.FormException
public Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
View
Item
in this collection.
This method should call ModifiableItemGroup.doCreateItem(StaplerRequest, StaplerResponse)
and then add the newly created item to this view.
doCreateItem
in class View
IOException
javax.servlet.ServletException
public FormValidation doViewExistsCheck(@QueryParameter String value)
public Object getStaplerFallback()
getStaplerFallback
in interface org.kohsuke.stapler.StaplerFallback
Copyright © 2004–2021. All rights reserved.