Uses of Interface
hudson.model.ItemGroup
-
Packages that use ItemGroup Package Description hudson hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.listeners Listener interfaces for various events that occur inside the server.hudson.security Security-related code.hudson.tasks jenkins.model jenkins.model.lazy jenkins.triggers -
-
Uses of ItemGroup in hudson
Methods in hudson with parameters of type ItemGroup Modifier and Type Method Description static 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
Subinterfaces of ItemGroup in hudson.model Modifier and Type Interface Description interface
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.Classes in hudson.model that implement ItemGroup Modifier and Type Class Description class
AbstractCIBase
class
Hudson
Methods in hudson.model that return ItemGroup Modifier and Type Method Description default ItemGroup<? extends TopLevelItem>
ViewGroup. getItemGroup()
Returns theItemGroup
from which the views in this group should render items.ItemGroup<? extends TopLevelItem>
View. getOwnerItemGroup()
Deprecated.callViewGroup.getItemGroup()
directlyItemGroup
AbstractItem. getParent()
This bridge method is to maintain binary compatibility withItem.getParent()
.ItemGroup<? extends Item>
Item. getParent()
Gets the parent that contains this item.Methods in hudson.model with parameters of type ItemGroup Modifier and Type Method Description static List<TopLevelItemDescriptor>
Items. all(ItemGroup c)
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>
Items. all2(org.springframework.security.core.Authentication a, ItemGroup c)
Returns all the registeredTopLevelItemDescriptor
s that the specified security principal is allowed to create within the specified item group.static <T extends Item>
Iterable<T>Items. allItems(ItemGroup root, Class<T> type)
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.static <T extends Item>
Iterable<T>Items. allItems(ItemGroup root, Class<T> type, Predicate<T> pred)
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.static <T extends Item>
Iterable<T>Items. allItems(Authentication authentication, ItemGroup root, Class<T> type)
Deprecated.static <T extends Item>
Iterable<T>Items. allItems(Authentication authentication, ItemGroup root, Class<T> type, Predicate<T> pred)
Deprecated.static <T extends Item>
Iterable<T>Items. allItems2(org.springframework.security.core.Authentication authentication, ItemGroup root, Class<T> type)
static <T extends Item>
Iterable<T>Items. allItems2(org.springframework.security.core.Authentication authentication, ItemGroup root, Class<T> type, Predicate<T> pred)
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.AutoCompletionCandidates
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.static <T extends Item>
List<T>Items. fromNameList(ItemGroup context, String list, Class<T> type)
Does the opposite ofItems.toNameList(Collection)
.static <T extends Item>
List<T>Items. getAllItems(ItemGroup root, Class<T> type)
static <T extends Item>
List<T>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 "/".String
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.String
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
Items. load(ItemGroup parent, File dir)
Loads aItem
from a config file.static <K,V extends Item>
Map<K,V>ItemGroupMixIn. loadChildren(ItemGroup parent, File modulesDir, Function1<? extends K,? super V> key)
Loads all the childItem
s.FreeStyleProject
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
AbstractItem. onLoad(ItemGroup<? extends Item> parent, String name)
Called right after when aItem
is loaded from disk.void
AbstractProject. onLoad(ItemGroup<? extends Item> parent, String name)
void
Item. onLoad(ItemGroup<? extends Item> parent, String name)
Called right after when aItem
is loaded from disk.void
Job. onLoad(ItemGroup<? extends Item> parent, String name)
void
Project. onLoad(ItemGroup<? extends Item> parent, String name)
void
ViewJob. onLoad(ItemGroup<? extends Item> parent, String name)
Constructors in hudson.model with parameters of type ItemGroup Constructor Description AbstractItem(ItemGroup parent, String name)
AbstractProject(ItemGroup parent, String name)
FreeStyleProject(ItemGroup parent, String name)
ItemGroupMixIn(ItemGroup parent, AccessControlled acl)
Job(ItemGroup parent, String name)
Project(ItemGroup parent, String name)
Creates a new project.ViewJob(ItemGroup parent, String name)
-
Uses of ItemGroup in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type ItemGroup Modifier and Type Method Description static 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
Methods in hudson.security with parameters of type ItemGroup Modifier and Type Method Description void
ACL. checkCreatePermission(ItemGroup c, TopLevelItemDescriptor d)
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
Methods in hudson.tasks with parameters of type ItemGroup Modifier and Type Method Description AutoCompletionCandidates
BuildTrigger.DescriptorImpl. doAutoCompleteChildProjects(String value, Item self, ItemGroup container)
List<AbstractProject>
BuildTrigger. getChildProjects(ItemGroup base)
Deprecated. -
Uses of ItemGroup in jenkins.model
Subinterfaces of ItemGroup in jenkins.model Modifier and Type Interface Description interface
DirectlyModifiableTopLevelItemGroup
Item group which supports items being directly moved in or out of it.interface
ModifiableTopLevelItemGroup
AModifiableItemGroup
to manageTopLevelItem
, including copying, creating from descriptor and from XML.Classes in jenkins.model that implement ItemGroup Modifier and Type Class Description class
Jenkins
Root object of the system.Methods in jenkins.model with parameters of type ItemGroup Modifier and Type Method Description Item
Jenkins. getItem(String pathName, ItemGroup context)
Gets the item by its path name from the given context<T extends Item>
TJenkins. getItem(String pathName, ItemGroup context, Class<T> type)
Constructors in jenkins.model with parameters of type ItemGroup Constructor Description AbstractTopLevelItem(ItemGroup parent, String name)
-
Uses of ItemGroup in jenkins.model.lazy
Methods in jenkins.model.lazy with parameters of type ItemGroup Modifier and Type Method Description void
LazyBuildMixIn. onLoad(ItemGroup<? extends Item> parent, String name)
Something to be called fromJob.onLoad(hudson.model.ItemGroup<? extends hudson.model.Item>, java.lang.String)
. -
Uses of ItemGroup in jenkins.triggers
Methods in jenkins.triggers with parameters of type ItemGroup Modifier and Type Method Description AutoCompletionCandidates
ReverseBuildTrigger.DescriptorImpl. doAutoCompleteUpstreamProjects(String value, Item self, ItemGroup container)
-