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 theTopLevelItems recursively in theItemGrouptree.static StringFunctions. getRelativeDisplayNameFrom(Item p, ItemGroup g)Gets the relative display name to the given item from the specified group.static StringFunctions. getRelativeNameFrom(Item p, ItemGroup g)Gets the name to the given item relative to given group.static StringFunctions. 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 interfaceModifiableItemGroup<T extends Item>ItemGroupthat 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 classAbstractCIBaseclassHudsonMethods in hudson.model that return ItemGroup Modifier and Type Method Description default ItemGroup<? extends TopLevelItem>ViewGroup. getItemGroup()Returns theItemGroupfrom which the views in this group should render items.ItemGroup<? extends TopLevelItem>View. getOwnerItemGroup()Deprecated.callViewGroup.getItemGroup()directlyItemGroupAbstractItem. 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 registeredTopLevelItemDescriptors 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 registeredTopLevelItemDescriptors 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 theItems recursively in theItemGrouptree 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 theItems recursively matching type and predicate in theItemGrouptree 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)voidTopLevelItemDescriptor. checkApplicableIn(ItemGroup parent)Checks if this top level item is applicable within the specified item group.static StringItems. computeRelativeNamesAfterRenaming(String oldFullName, String newFullName, String relativeNames, ItemGroup context)Computes the relative name of list of items after a rename or move occurred.AutoCompletionCandidatesViewDescriptor. doAutoCompleteCopyNewItemFrom(String value, ItemGroup<?> container)Auto-completion for the "copy from" field in the new job page.static AbstractProjectAbstractProject. findNearest(String name, ItemGroup context)Finds aAbstractProjectwhose 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 StringItems. getCanonicalName(ItemGroup context, String path)Computes the canonical full name of a relative path in anItemGroupcontext, handling relative positions ".." and "." as absolute path starting with "/".StringAbstractItem. getRelativeDisplayNameFrom(ItemGroup p)Gets the display name of the current item relative to the given group.default StringItem. getRelativeNameFrom(ItemGroup g)Gets the relative name to this item from the specified group.StringAbstractItem. getRelativeNameFromGroup(ItemGroup p)This method only exists to disambiguateItem.getRelativeNameFrom(ItemGroup)andItem.getRelativeNameFrom(Item)booleanTopLevelItemDescriptor. isApplicableIn(ItemGroup parent)TopLevelItemDescriptors often may want to limit the scope within which they can be created.static ItemItems. load(ItemGroup parent, File dir)Loads aItemfrom 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 childItems.FreeStyleProjectFreeStyleProject.DescriptorImpl. newInstance(ItemGroup parent, String name)abstract TopLevelItemTopLevelItemDescriptor. newInstance(ItemGroup parent, String name)Creates a newTopLevelItemfor 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.voidItemVisitor. onItemGroup(ItemGroup<?> group)Visits anItemGroupby visits the member items.voidAbstractItem. onLoad(ItemGroup<? extends Item> parent, String name)Called right after when aItemis loaded from disk.voidAbstractProject. onLoad(ItemGroup<? extends Item> parent, String name)voidItem. onLoad(ItemGroup<? extends Item> parent, String name)Called right after when aItemis loaded from disk.voidJob. onLoad(ItemGroup<? extends Item> parent, String name)voidProject. onLoad(ItemGroup<? extends Item> parent, String name)voidViewJob. 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 voidItemListener. checkBeforeCopy(Item src, ItemGroup parent)Call before a job is copied into a new parent, to allow theItemListenerimplementations the ability to veto the copy operation before it starts.voidItemListener. 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 voidACL. checkCreatePermission(ItemGroup c, TopLevelItemDescriptor d)Checks if the current security principal has the permission to create top level items within the specified item group.booleanACL. hasCreatePermission(Authentication a, ItemGroup c, TopLevelItemDescriptor d)booleanACL. 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 AutoCompletionCandidatesBuildTrigger.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 interfaceDirectlyModifiableTopLevelItemGroupItem group which supports items being directly moved in or out of it.interfaceModifiableTopLevelItemGroupAModifiableItemGroupto manageTopLevelItem, including copying, creating from descriptor and from XML.Classes in jenkins.model that implement ItemGroup Modifier and Type Class Description classJenkinsRoot object of the system.Methods in jenkins.model with parameters of type ItemGroup Modifier and Type Method Description ItemJenkins. 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 voidLazyBuildMixIn. 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 AutoCompletionCandidatesReverseBuildTrigger.DescriptorImpl. doAutoCompleteUpstreamProjects(String value, Item self, ItemGroup container)
-