Uses of Interface
hudson.model.TopLevelItem
-
Packages that use TopLevelItem Package Description hudson hudson.cli Server-side CLI commands for Hudson.hudson.cli.handlers OptionHandlerimplementations 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 theTopLevelItems recursively in theItemGrouptree. -
Uses of TopLevelItem in hudson.cli
Fields in hudson.cli declared as TopLevelItem Modifier and Type Field Description TopLevelItemCopyJobCommand. 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 classFreeStyleProjectFree-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 existingTopLevelItemto 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 TopLevelItemItemGroupMixIn. createProject(TopLevelItemDescriptor type, String name, boolean notify)TopLevelItemItemGroupMixIn. createProjectFromXML(String name, InputStream xml)TopLevelItemItemGroupMixIn. createTopLevelItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Creates aTopLevelItemfor example from the submission of the/lib/hudson/newFromList/formtag or throws an exception if it fails.TopLevelItemMyView. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)TopLevelItemProxyView. getItem(String name)TopLevelItemView. getItem(String name)Gets theTopLevelItemof the given name.TopLevelItemHudson. getJob(String name)Deprecated.Left only for the compatibility of URLs.TopLevelItemView. getJob(String name)Alias forView.getItem(String).TopLevelItemHudson. getJobCaseInsensitive(String name)Deprecated.Used only for mapping jobs to URL in a case-insensitive fashion.abstract TopLevelItemTopLevelItemDescriptor. newInstance(ItemGroup parent, String name)Creates a newTopLevelItemfor the specified parent.TopLevelItemTopLevelItemDescriptor. newInstance(String name)Deprecated.as of 1.390 UseTopLevelItemDescriptor.newInstance(ItemGroup, String)TopLevelItemTopLevelItemDescriptor. 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 registeredTopLevelItemDescriptors.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 theItemGroupfrom which the views in this group should render items.Collection<TopLevelItem>AllView. getItems()List<TopLevelItem>ListView. getItems()Returns a read-only view of allJobs 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 voidDirectlyModifiableView. add(TopLevelItem item)Add item to this view.protected abstract voidItemGroupMixIn. add(TopLevelItem item)Adds a newly created item to the parent.voidListView. add(TopLevelItem item)Adds the given item to this view.booleanAllView. contains(TopLevelItem item)booleanListView. contains(TopLevelItem item)booleanMyView. contains(TopLevelItem item)booleanProxyView. contains(TopLevelItem item)abstract booleanView. contains(TopLevelItem item)Checks if the job is in this collection.abstract FilePathNode. getWorkspaceFor(TopLevelItem item)Returns a "workspace" directory for the givenTopLevelItem.FilePathSlave. getWorkspaceFor(TopLevelItem item)booleanListView. jobNamesContains(TopLevelItem item)protected StringItemGroupMixIn. redirectAfterCreateItem(org.kohsuke.stapler.StaplerRequest req, TopLevelItem result)Computes the redirection target URL for the newly createdTopLevelItem.booleanDirectlyModifiableView. remove(TopLevelItem item)Remove item from this view.booleanListView. remove(TopLevelItem item)Removes given item from this view.booleanTopLevelItemDescriptor. 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 classAbstractTopLevelItemDefault 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 TopLevelItemJenkins. createProject(TopLevelItemDescriptor type, String name)TopLevelItemJenkins. createProject(TopLevelItemDescriptor type, String name, boolean notify)TopLevelItemModifiableTopLevelItemGroup. createProject(TopLevelItemDescriptor type, String name, boolean notify)Creates a new job.TopLevelItemJenkins. createProjectFromXML(String name, InputStream xml)TopLevelItemModifiableTopLevelItemGroup. createProjectFromXML(String name, InputStream xml)Creates a new job from its configuration XML.TopLevelItemJenkins. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)TopLevelItemJenkins. getItem(String name)Gets theIteminside 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 theTopLevelItems 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 ofJenkinsbased on supplied predicate.Methods in jenkins.model with parameters of type TopLevelItem Modifier and Type Method Description booleanDirectlyModifiableTopLevelItemGroup. canAdd(TopLevelItem item)Returns true if a particular item may be added to this group.booleanJenkins. canAdd(TopLevelItem item)FileJenkins. getRootDirFor(TopLevelItem child)FilePathJenkins. getWorkspaceFor(TopLevelItem item)voidJenkins. onDeleted(TopLevelItem item)Called in response toAbstractItem.doDoDelete(StaplerRequest, StaplerResponse)voidJenkins. onRenamed(TopLevelItem job, String oldName, String newName)Called byJob.renameTo(String)to update relevant data structure.voidJenkins. putItem(TopLevelItem item)Overwrites the existing item by new one.voidDirectlyModifiableTopLevelItemGroup. remove(TopLevelItem item)Removes an item from this group.voidJenkins. 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 ofJenkinsbased on supplied predicate. -
Uses of TopLevelItem in jenkins.slaves
Methods in jenkins.slaves with parameters of type TopLevelItem Modifier and Type Method Description abstract FilePathWorkspaceLocator. locate(TopLevelItem item, Node node)Allows extensions to customize the workspace path.
-