public abstract class AbstractTopLevelItem extends AbstractItem implements TopLevelItem
TopLevelItem.ExtensionPoint.LegacyInstancesAreScopedToHudsonModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItemdescription, displayName, name, PRONOUN| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTopLevelItem(ItemGroup parent,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Job> |
getAllJobs()
Gets all the jobs that this
Item contains as descendants. |
TopLevelItemDescriptor |
getDescriptor()
Gets the descriptor for this instance.
|
checkPermission, delete, delete, doConfigDotXml, doDoDelete, doReload, doSetName, doSubmitDescription, getAbsoluteUrl, getACL, getApi, getConfigFile, getDescription, getDescriptorByName, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getPronoun, getRelativeDisplayNameFrom, getRelativeNameFrom, getRelativeNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getUrl, hasPermission, movedTo, onCopiedFrom, onCreatedFromScratch, onLoad, performDelete, renameTo, resolveForCLI, save, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml, writeConfigDotXmladdAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, replaceActiongetSearch, getSearchIndex, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelete, getAbsoluteUrl, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, onLoad, savegetRootDirgetSearchgetSearchIndex, getSearchName, getSearchUrlcheckPermission, getACL, hasPermissionpublic Collection<? extends Job> getAllJobs()
AbstractItemItem contains as descendants.getAllJobs in interface ItemgetAllJobs in class AbstractItempublic TopLevelItemDescriptor getDescriptor()
Describable
Descriptor is a singleton for every concrete Describable
implementation, so if a.getClass() == b.getClass() then by default
a.getDescriptor() == b.getDescriptor() as well.
(In rare cases a single implementation class may be used for instances with distinct descriptors.)
getDescriptor in interface Describable<TopLevelItem>getDescriptor in interface TopLevelItemDescribable.getDescriptor()Copyright © 2019. All rights reserved.