public abstract class AbstractTopLevelItem extends AbstractItem implements TopLevelItem
TopLevelItem
.ExtensionPoint.LegacyInstancesAreScopedToHudson
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem
description, displayName, name, PRONOUN, SKIP_PERMISSION_CHECK, TASK_NOUN
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.
|
checkRename, delete, delete, doCheckNewName, doConfigDotXml, doConfirmRename, doDoDelete, doReload, doSetName, doSubmitDescription, getAbsoluteUrl, getACL, getApi, getConfigFile, getDescription, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getPronoun, getRelativeDisplayNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getTarget, getTaskNoun, getUrl, isNameEditable, movedTo, onCopiedFrom, onLoad, performDelete, renameTo, resolveForCLI, save, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml, writeConfigDotXml, writeReplace
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
delete, getAbsoluteUrl, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, onLoad, save
getRootDir
getSearch
getSearchIndex, getSearchName, getSearchUrl
checkAnyPermission, checkPermission, getACL, hasAnyPermission, hasPermission, hasPermission, hasPermission2
getDescriptorByName
public Collection<? extends Job> getAllJobs()
AbstractItem
Item
contains as descendants.getAllJobs
in interface Item
getAllJobs
in class AbstractItem
public 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 TopLevelItem
Describable.getDescriptor()
Copyright © 2004–2021. All rights reserved.