Package | Description |
---|---|
hudson | |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.security |
Security-related code.
|
hudson.tasks | |
jenkins.model | |
jenkins.model.lazy | |
jenkins.triggers |
Modifier and Type | Method and Description |
---|---|
static List<TopLevelItem> |
Functions.getAllTopLevelItems(ItemGroup root)
Gets all the
TopLevelItem s recursively in the ItemGroup 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.
|
Modifier and Type | Interface and 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. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCIBase |
class |
Hudson |
Modifier and Type | Method and Description |
---|---|
ItemGroup<? extends TopLevelItem> |
TreeView.getItemGroup() |
ItemGroup<? extends TopLevelItem> |
MyViewsProperty.getItemGroup() |
ItemGroup<? extends TopLevelItem> |
ViewGroup.getItemGroup()
Returns the
ItemGroup from which the views in this group should render items. |
ItemGroup<? extends TopLevelItem> |
View.getOwnerItemGroup()
Backward-compatible way of getting
getOwner().getItemGroup() |
ItemGroup |
AbstractItem.getParent()
This bridge method is to maintain binary compatibility with
Item.getParent() . |
ItemGroup<? extends Item> |
Item.getParent()
Gets the parent that contains this item.
|
Modifier and Type | Method and Description |
---|---|
static List<TopLevelItemDescriptor> |
Items.all(org.acegisecurity.Authentication a,
ItemGroup c)
Returns all the registered
TopLevelItemDescriptor s that the specified security principal is allowed to
create within the specified item group. |
static List<TopLevelItemDescriptor> |
Items.all(ItemGroup c)
Returns all the registered
TopLevelItemDescriptor s that the current security principal is allowed to
create within the specified item group. |
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 <T extends Item> |
Items.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 AbstractProject |
AbstractProject.findNearest(String name,
ItemGroup context)
Finds a
AbstractProject whose name (when referenced from the specified context) is closest to the given name. |
static <T extends Item> |
Items.fromNameList(ItemGroup context,
String list,
Class<T> type)
Does the opposite of
Items.toNameList(Collection) . |
static <T extends Item> |
Items.getAllItems(ItemGroup root,
Class<T> type)
|
static String |
Items.getCanonicalName(ItemGroup context,
String path)
Computes the canonical full name of a relative path in an
ItemGroup 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.
|
String |
AbstractItem.getRelativeNameFrom(ItemGroup p) |
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 disambiguate
AbstractItem.getRelativeNameFrom(ItemGroup) and AbstractItem.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 a
Item from a config file. |
static <K,V extends Item> |
ItemGroupMixIn.loadChildren(ItemGroup parent,
File modulesDir,
Function1<? extends K,? super V> key)
Loads all the child
Item s. |
abstract TopLevelItem |
TopLevelItemDescriptor.newInstance(ItemGroup parent,
String name)
Creates a new
TopLevelItem for the specified parent. |
FreeStyleProject |
FreeStyleProject.DescriptorImpl.newInstance(ItemGroup parent,
String name) |
static <T extends Item> |
AutoCompletionCandidates.ofJobNames(Class<T> type,
String value,
ItemGroup container)
Auto-completes possible job names.
|
static <T extends Item> |
AutoCompletionCandidates.ofJobNames(Class<T> type,
String value,
Item self,
ItemGroup container)
Auto-completes possible job names.
|
void |
ItemVisitor.onItemGroup(ItemGroup<?> group)
Visits an
ItemGroup by visits the member items. |
void |
AbstractItem.onLoad(ItemGroup<? extends Item> parent,
String name)
Called right after when a
Item is loaded from disk. |
void |
Item.onLoad(ItemGroup<? extends Item> parent,
String name)
Called right after when a
Item is loaded from disk. |
void |
ViewJob.onLoad(ItemGroup<? extends Item> parent,
String name) |
void |
Job.onLoad(ItemGroup<? extends Item> parent,
String name) |
void |
Project.onLoad(ItemGroup<? extends Item> parent,
String name) |
void |
AbstractProject.onLoad(ItemGroup<? extends Item> parent,
String name) |
Constructor and 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) |
Modifier and Type | Method and 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(org.acegisecurity.Authentication a,
ItemGroup c,
TopLevelItemDescriptor d)
Checks if the given principal has the permission to create top level items within the specified item group.
|
Modifier and Type | Method and Description |
---|---|
AutoCompletionCandidates |
BuildTrigger.DescriptorImpl.doAutoCompleteChildProjects(String value,
Item self,
ItemGroup container) |
List<AbstractProject> |
BuildTrigger.getChildProjects(ItemGroup base) |
Modifier and Type | Interface and Description |
---|---|
interface |
DirectlyModifiableTopLevelItemGroup
Item group which supports items being directly moved in or out of it.
|
interface |
ModifiableTopLevelItemGroup
A
ModifiableItemGroup to manage TopLevelItem ,
including copying, creating from descriptor and from XML. |
Modifier and Type | Class and Description |
---|---|
class |
Jenkins
Root object of the system.
|
Modifier and Type | Method and Description |
---|---|
Item |
Jenkins.getItem(String pathName,
ItemGroup context)
Gets the item by its path name from the given context
|
<T extends Item> |
Jenkins.getItem(String pathName,
ItemGroup context,
Class<T> type) |
Constructor and Description |
---|
AbstractTopLevelItem(ItemGroup parent,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
LazyBuildMixIn.onLoad(ItemGroup<? extends Item> parent,
String name)
Something to be called from
Job.onLoad(hudson.model.ItemGroup<? extends hudson.model.Item>, java.lang.String) . |
Modifier and Type | Method and Description |
---|---|
AutoCompletionCandidates |
ReverseBuildTrigger.DescriptorImpl.doAutoCompleteUpstreamProjects(String value,
Item self,
ItemGroup container) |
Copyright © 2017. All rights reserved.