Uses of Interface
hudson.model.ItemGroup
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Listener interfaces for various events that occur inside the server.
Security-related code.
-
Uses of ItemGroup in hudson
Modifier and TypeMethodDescriptionstatic List<TopLevelItem>
Functions.getAllTopLevelItems
(ItemGroup root) Gets all theTopLevelItem
s recursively in theItemGroup
tree.static String
Functions.getRelativeDisplayNameFrom
(Item p, ItemGroup g) Gets the relative display name to the given item from the specified group.static String
Functions.getRelativeNameFrom
(Item p, ItemGroup g) Gets the name to the given item relative to given group.static String
Functions.getRelativeNameFrom
(Item p, ItemGroup g, boolean useDisplayName) Gets the relative name or display name to the given item from the specified group. -
Uses of ItemGroup in hudson.model
Modifier and TypeInterfaceDescriptioninterface
ModifiableItemGroup<T extends Item>
ItemGroup
that is a general purpose container, which allows users and the rest of the program to create arbitrary items into it.Modifier and TypeMethodDescriptiondefault ItemGroup<? extends TopLevelItem>
ViewGroup.getItemGroup()
Returns theItemGroup
from which the views in this group should render items.ItemGroup<? extends TopLevelItem>
View.getOwnerItemGroup()
Deprecated.AbstractItem.getParent()
This bridge method is to maintain binary compatibility withItem.getParent()
.Item.getParent()
Gets the parent that contains this item.Modifier and TypeMethodDescriptionstatic List<TopLevelItemDescriptor>
Returns all the registeredTopLevelItemDescriptor
s that the current security principal is allowed to create within the specified item group.static List<TopLevelItemDescriptor>
Items.all
(Authentication a, ItemGroup c) Deprecated.static List<TopLevelItemDescriptor>
Returns all the registeredTopLevelItemDescriptor
s that the specified security principal is allowed to create within the specified item group.Gets a read-only view of all theItem
s recursively in theItemGroup
tree visible toJenkins.getAuthentication2()
without concern for the order in which items are returned.Gets a read-only view of all theItem
s recursively matching type and predicate in theItemGroup
tree visible toJenkins.getAuthentication2()
without concern for the order in which items are returned.Items.allItems
(Authentication authentication, ItemGroup root, Class<T> type) Deprecated.Items.allItems
(Authentication authentication, ItemGroup root, Class<T> type, Predicate<T> pred) Deprecated.Items.allItems2
(org.springframework.security.core.Authentication authentication, ItemGroup root, Class<T> type) Items.allItems2
(org.springframework.security.core.Authentication authentication, ItemGroup root, Class<T> type, Predicate<T> pred) final void
TopLevelItemDescriptor.checkApplicableIn
(ItemGroup parent) Checks if this top level item is applicable within the specified item group.static String
Items.computeRelativeNamesAfterRenaming
(String oldFullName, String newFullName, String relativeNames, ItemGroup context) Computes the relative name of list of items after a rename or move occurred.ViewDescriptor.doAutoCompleteCopyNewItemFrom
(String value, ItemGroup<?> container) Auto-completion for the "copy from" field in the new job page.static AbstractProject
AbstractProject.findNearest
(String name, ItemGroup context) Finds aAbstractProject
whose name (when referenced from the specified context) is closest to the given name.static <T extends Item>
TItems.findNearest
(Class<T> type, String name, ItemGroup context) Finds an item whose name (when referenced from the specified context) is closest to the given name.Items.fromNameList
(ItemGroup context, String list, Class<T> type) Does the opposite ofItems.toNameList(Collection)
.Items.getAllItems
(ItemGroup root, Class<T> type) Items.getAllItems
(ItemGroup root, Class<T> type, Predicate<T> pred) Similar toItems.getAllItems(ItemGroup, Class)
but with a predicate to pre-filter items to avoid checking ACLs unnecessarily and returning items not required by the callerstatic String
Items.getCanonicalName
(ItemGroup context, String path) Computes the canonical full name of a relative path in anItemGroup
context, handling relative positions ".." and "." as absolute path starting with "/".AbstractItem.getRelativeDisplayNameFrom
(ItemGroup p) Gets the display name of the current item relative to the given group.default String
Item.getRelativeNameFrom
(ItemGroup g) Gets the relative name to this item from the specified group.AbstractItem.getRelativeNameFromGroup
(ItemGroup p) This method only exists to disambiguateItem.getRelativeNameFrom(ItemGroup)
andItem.getRelativeNameFrom(Item)
boolean
TopLevelItemDescriptor.isApplicableIn
(ItemGroup parent) TopLevelItemDescriptor
s often may want to limit the scope within which they can be created.static Item
Loads aItem
from a config file.ItemGroupMixIn.loadChildren
(ItemGroup parent, File modulesDir, Function1<? extends K, ? super V> key) Loads all the childItem
s.FreeStyleProject.DescriptorImpl.newInstance
(ItemGroup parent, String name) abstract TopLevelItem
TopLevelItemDescriptor.newInstance
(ItemGroup parent, String name) Creates a newTopLevelItem
for the specified parent.static <T extends Item>
AutoCompletionCandidatesAutoCompletionCandidates.ofJobNames
(Class<T> type, String value, ItemGroup container) Auto-completes possible job names.static <T extends Item>
AutoCompletionCandidatesAutoCompletionCandidates.ofJobNames
(Class<T> type, String value, Item self, ItemGroup container) Auto-completes possible job names.void
ItemVisitor.onItemGroup
(ItemGroup<?> group) Visits anItemGroup
by visits the member items.void
Called right after when aItem
is loaded from disk.void
void
Called right after when aItem
is loaded from disk.void
void
void
ModifierConstructorDescriptionprotected
AbstractItem
(ItemGroup parent, String name) protected
AbstractProject
(ItemGroup parent, String name) FreeStyleProject
(ItemGroup parent, String name) protected
ItemGroupMixIn
(ItemGroup parent, AccessControlled acl) protected
protected
Creates a new project.protected
-
Uses of ItemGroup in hudson.model.listeners
Modifier and TypeMethodDescriptionstatic void
ItemListener.checkBeforeCopy
(Item src, ItemGroup parent) Call before a job is copied into a new parent, to allow theItemListener
implementations the ability to veto the copy operation before it starts.void
ItemListener.onCheckCopy
(Item src, ItemGroup parent) Called before a job is copied into a new parent, providing the ability to veto the copy operation before it starts. -
Uses of ItemGroup in hudson.security
Modifier and TypeMethodDescriptionfinal void
Checks if the current security principal has the permission to create top level items within the specified item group.boolean
ACL.hasCreatePermission
(Authentication a, ItemGroup c, TopLevelItemDescriptor d) boolean
ACL.hasCreatePermission2
(org.springframework.security.core.Authentication a, ItemGroup c, TopLevelItemDescriptor d) Checks if the given principal has the permission to create top level items within the specified item group. -
Uses of ItemGroup in hudson.tasks
Modifier and TypeMethodDescriptionBuildTrigger.DescriptorImpl.doAutoCompleteChildProjects
(String value, Item self, ItemGroup container) BuildTrigger.getChildProjects
(ItemGroup base) Deprecated. -
Uses of ItemGroup in jenkins.model
Modifier and TypeInterfaceDescriptioninterface
Item group which supports items being directly moved in or out of it.interface
AModifiableItemGroup
to manageTopLevelItem
, including copying, creating from descriptor and from XML.Modifier and TypeMethodDescriptionGets the item by its path name from the given contextfinal <T extends Item>
T -
Uses of ItemGroup in jenkins.model.lazy
Modifier and TypeMethodDescriptionvoid
Something to be called fromJob.onLoad(hudson.model.ItemGroup<? extends hudson.model.Item>, java.lang.String)
. -
Uses of ItemGroup in jenkins.triggers
Modifier and TypeMethodDescriptionReverseBuildTrigger.DescriptorImpl.doAutoCompleteUpstreamProjects
(String value, Item self, ItemGroup container)
ViewGroup.getItemGroup()
directly