Uses of Interface
hudson.model.TopLevelItem
-
Packages that use TopLevelItem Package Description hudson hudson.cli Server-side CLI commands for Hudson.hudson.cli.handlers OptionHandler
implementations for Hudson.hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.views jenkins.model jenkins.slaves -
-
Uses of TopLevelItem in hudson
Methods in hudson that return types with arguments of type TopLevelItem Modifier and Type Method Description static List<TopLevelItem>
Functions. getAllTopLevelItems(ItemGroup root)
Gets all theTopLevelItem
s recursively in theItemGroup
tree. -
Uses of TopLevelItem in hudson.cli
Fields in hudson.cli declared as TopLevelItem Modifier and Type Field Description TopLevelItem
CopyJobCommand. src
-
Uses of TopLevelItem in hudson.cli.handlers
Methods in hudson.cli.handlers that return types with arguments of type TopLevelItem Modifier and Type Method Description protected Class<TopLevelItem>
TopLevelItemOptionHandler. type()
Constructor parameters in hudson.cli.handlers with type arguments of type TopLevelItem Constructor Description TopLevelItemOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<TopLevelItem> setter)
-
Uses of TopLevelItem in hudson.model
Classes in hudson.model that implement TopLevelItem Modifier and Type Class Description class
FreeStyleProject
Free-style software project.Methods in hudson.model with type parameters of type TopLevelItem Modifier and Type Method Description <T extends TopLevelItem>
TItemGroupMixIn. copy(T src, String name)
Copies an existingTopLevelItem
to a new name.static <I extends AbstractItem & TopLevelItem>
IItems. move(I item, DirectlyModifiableTopLevelItemGroup destination)
Moves an item between folders (or top level).Methods in hudson.model that return TopLevelItem Modifier and Type Method Description TopLevelItem
ItemGroupMixIn. createProject(TopLevelItemDescriptor type, String name, boolean notify)
TopLevelItem
ItemGroupMixIn. createProjectFromXML(String name, InputStream xml)
TopLevelItem
ItemGroupMixIn. createTopLevelItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Creates aTopLevelItem
for example from the submission of the/lib/hudson/newFromList/form
tag or throws an exception if it fails.TopLevelItem
MyView. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
TopLevelItem
ProxyView. getItem(String name)
TopLevelItem
View. getItem(String name)
Gets theTopLevelItem
of the given name.TopLevelItem
Hudson. getJob(String name)
Deprecated.Left only for the compatibility of URLs.TopLevelItem
View. getJob(String name)
Alias forView.getItem(String)
.TopLevelItem
Hudson. getJobCaseInsensitive(String name)
Deprecated.Used only for mapping jobs to URL in a case-insensitive fashion.abstract TopLevelItem
TopLevelItemDescriptor. newInstance(ItemGroup parent, String name)
Creates a newTopLevelItem
for the specified parent.TopLevelItem
TopLevelItemDescriptor. newInstance(String name)
Deprecated.as of 1.390 UseTopLevelItemDescriptor.newInstance(ItemGroup, String)
TopLevelItem
TopLevelItemDescriptor. newInstance(org.kohsuke.stapler.StaplerRequest req)
Deprecated.since 2007-01-19.Methods in hudson.model that return types with arguments of type TopLevelItem Modifier and Type Method Description static DescriptorExtensionList<TopLevelItem,TopLevelItemDescriptor>
Items. all()
Returns all the registeredTopLevelItemDescriptor
s.Collection<TopLevelItem>
View. getAllItems()
Gets all the items recursively contained in this collection in a read-only view.default ItemGroup<? extends TopLevelItem>
ViewGroup. getItemGroup()
Returns theItemGroup
from which the views in this group should render items.Collection<TopLevelItem>
AllView. getItems()
List<TopLevelItem>
ListView. getItems()
Returns a read-only view of allJob
s in this view.Collection<TopLevelItem>
MyView. getItems()
Collection<TopLevelItem>
ProxyView. getItems()
abstract Collection<TopLevelItem>
View. getItems()
Gets all the items in this collection in a read-only view.ItemGroup<? extends TopLevelItem>
View. getOwnerItemGroup()
Deprecated.callViewGroup.getItemGroup()
directlyMethods in hudson.model with parameters of type TopLevelItem Modifier and Type Method Description void
DirectlyModifiableView. add(TopLevelItem item)
Add item to this view.protected abstract void
ItemGroupMixIn. add(TopLevelItem item)
Adds a newly created item to the parent.void
ListView. add(TopLevelItem item)
Adds the given item to this view.boolean
AllView. contains(TopLevelItem item)
boolean
ListView. contains(TopLevelItem item)
boolean
MyView. contains(TopLevelItem item)
boolean
ProxyView. contains(TopLevelItem item)
abstract boolean
View. contains(TopLevelItem item)
Checks if the job is in this collection.abstract FilePath
Node. getWorkspaceFor(TopLevelItem item)
Returns a "workspace" directory for the givenTopLevelItem
.FilePath
Slave. getWorkspaceFor(TopLevelItem item)
boolean
ListView. jobNamesContains(TopLevelItem item)
protected String
ItemGroupMixIn. redirectAfterCreateItem(org.kohsuke.stapler.StaplerRequest req, TopLevelItem result)
Computes the redirection target URL for the newly createdTopLevelItem
.boolean
DirectlyModifiableView. remove(TopLevelItem item)
Remove item from this view.boolean
ListView. remove(TopLevelItem item)
Removes given item from this view.boolean
TopLevelItemDescriptor. testInstance(TopLevelItem i)
Tests if the given instance belongs to this descriptor, in the sense that this descriptor can produce items like the given one.Constructor parameters in hudson.model with type arguments of type TopLevelItem Constructor Description TopLevelItemDescriptor(Class<? extends TopLevelItem> clazz)
-
Uses of TopLevelItem in hudson.views
Methods in hudson.views that return types with arguments of type TopLevelItem Modifier and Type Method Description List<TopLevelItem>
StatusFilter. filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
Choose which jobs to show for a view.abstract List<TopLevelItem>
ViewJobFilter. filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
Choose which jobs to show for a view.Method parameters in hudson.views with type arguments of type TopLevelItem Modifier and Type Method Description List<TopLevelItem>
StatusFilter. filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
Choose which jobs to show for a view.abstract List<TopLevelItem>
ViewJobFilter. filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
Choose which jobs to show for a view. -
Uses of TopLevelItem in jenkins.model
Classes in jenkins.model that implement TopLevelItem Modifier and Type Class Description class
AbstractTopLevelItem
Default base implementation ofTopLevelItem
.Methods in jenkins.model with type parameters of type TopLevelItem Modifier and Type Method Description <I extends TopLevelItem>
IDirectlyModifiableTopLevelItemGroup. add(I item, String name)
Adds an item to this group.<I extends TopLevelItem>
IJenkins. add(I item, String name)
<T extends TopLevelItem>
TJenkins. copy(T src, String name)
<T extends TopLevelItem>
TModifiableTopLevelItemGroup. copy(T src, String name)
Copies a job.<T extends TopLevelItem>
TJenkins. createProject(Class<T> type, String name)
Creates a new job.Methods in jenkins.model that return TopLevelItem Modifier and Type Method Description TopLevelItem
Jenkins. createProject(TopLevelItemDescriptor type, String name)
TopLevelItem
Jenkins. createProject(TopLevelItemDescriptor type, String name, boolean notify)
TopLevelItem
ModifiableTopLevelItemGroup. createProject(TopLevelItemDescriptor type, String name, boolean notify)
Creates a new job.TopLevelItem
Jenkins. createProjectFromXML(String name, InputStream xml)
TopLevelItem
ModifiableTopLevelItemGroup. createProjectFromXML(String name, InputStream xml)
Creates a new job from its configuration XML.TopLevelItem
Jenkins. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
TopLevelItem
Jenkins. getItem(String name)
Gets theItem
inside this group that has a given name, or null if it does not exist.Methods in jenkins.model that return types with arguments of type TopLevelItem Modifier and Type Method Description Map<String,TopLevelItem>
Jenkins. getItemMap()
Returns the read-only view of all theTopLevelItem
s keyed by their names.List<TopLevelItem>
Jenkins. getItems()
Gets just the immediate children ofJenkins
.List<TopLevelItem>
Jenkins. getItems(Predicate<TopLevelItem> pred)
Gets just the immediate children ofJenkins
based on supplied predicate.Methods in jenkins.model with parameters of type TopLevelItem Modifier and Type Method Description boolean
DirectlyModifiableTopLevelItemGroup. canAdd(TopLevelItem item)
Returns true if a particular item may be added to this group.boolean
Jenkins. canAdd(TopLevelItem item)
File
Jenkins. getRootDirFor(TopLevelItem child)
FilePath
Jenkins. getWorkspaceFor(TopLevelItem item)
void
Jenkins. onDeleted(TopLevelItem item)
Called in response toAbstractItem.doDoDelete(StaplerRequest, StaplerResponse)
void
Jenkins. onRenamed(TopLevelItem job, String oldName, String newName)
Called byJob.renameTo(String)
to update relevant data structure.void
Jenkins. putItem(TopLevelItem item)
Overwrites the existing item by new one.void
DirectlyModifiableTopLevelItemGroup. remove(TopLevelItem item)
Removes an item from this group.void
Jenkins. remove(TopLevelItem item)
Method parameters in jenkins.model with type arguments of type TopLevelItem Modifier and Type Method Description List<TopLevelItem>
Jenkins. getItems(Predicate<TopLevelItem> pred)
Gets just the immediate children ofJenkins
based on supplied predicate. -
Uses of TopLevelItem in jenkins.slaves
Methods in jenkins.slaves with parameters of type TopLevelItem Modifier and Type Method Description abstract FilePath
WorkspaceLocator. locate(TopLevelItem item, Node node)
Allows extensions to customize the workspace path.
-