Package | Description |
---|---|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.tasks | |
jenkins.model |
Modifier and Type | Class and Description |
---|---|
class |
Build<P extends Project<P,B>,B extends Build<P,B>>
A build of a
Project . |
class |
Project<P extends Project<P,B>,B extends Build<P,B>>
Buildable software project.
|
Modifier and Type | Class and Description |
---|---|
class |
FreeStyleProject
Free-style software project.
|
Modifier and Type | Method and Description |
---|---|
Action |
Publisher.getProjectAction(Project project)
Deprecated.
since 1.150
|
Action |
BuildStepCompatibilityLayer.getProjectAction(Project<?,?> project)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Project> |
Jenkins.getProjects()
Deprecated.
This method will ignore Maven and matrix projects, as well as projects inside containers such as folders.
You may prefer to call
Jenkins.getAllItems(Class) on AbstractProject ,
perhaps also using Util.createSubList(java.util.Collection<?>, java.lang.Class<T>) to consider only TopLevelItem s.
(That will also consider the caller's permissions.)
If you really want to get just Project s at top level, ignoring permissions,
you can filter the values from Jenkins.getItemMap() using Util.createSubList(java.util.Collection<?>, java.lang.Class<T>) . |
Copyright © 2014. All rights reserved.