|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.View
au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView
au.com.centrumsystems.hudson.plugin.buildpipeline.dashboard.ReadOnlyBuildPipelineView
public class ReadOnlyBuildPipelineView
This class provides a read-only view for the existing build-pipeline view. All calls checking permissions return false. The other reason for this class is that it's used in a different context and not as a child of the view tab.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView |
|---|
BuildPipelineView.DescriptorImpl |
| Nested classes/interfaces inherited from class hudson.model.View |
|---|
hudson.model.View.People, hudson.model.View.PropertyList, hudson.model.View.UserInfo |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class hudson.model.View |
|---|
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, SORTER, transientActions |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
ReadOnlyBuildPipelineView(String displayName,
String description,
String selectedJob,
String noOfDisplayedBuilds,
boolean triggerOnlyLatestJob)
|
|
| Method Summary | |
|---|---|
hudson.model.AbstractProject<?,?> |
getSelectedProject()
Gets the selected project |
boolean |
hasBuildPermission(hudson.model.AbstractProject<?,?> currentProject)
Checks whether the user has Build permission for the current project. |
boolean |
hasPermission(hudson.security.Permission p)
|
| Methods inherited from class hudson.model.View |
|---|
all, allInstantiable, checkPermission, create, doConfigSubmit, doDoDelete, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllProperties, getApi, getApplicablePropertyDescriptors, getBuilds, getColumns, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getWidgets, hasPeople, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, rename, save |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadOnlyBuildPipelineView(String displayName,
String description,
String selectedJob,
String noOfDisplayedBuilds,
boolean triggerOnlyLatestJob)
displayName - display name of build pipeline viewdescription - description of build pipeline viewselectedJob - selected job of build pipeline viewnoOfDisplayedBuilds - number of displayed build of build pipeline viewtriggerOnlyLatestJob - is trigger only latest job?| Method Detail |
|---|
public boolean hasBuildPermission(hudson.model.AbstractProject<?,?> currentProject)
BuildPipelineView
hasBuildPermission in class BuildPipelineViewcurrentProject - - The project being viewed.
Itempublic boolean hasPermission(hudson.security.Permission p)
hasPermission in interface hudson.security.AccessControlledhasPermission in class hudson.model.Viewpublic hudson.model.AbstractProject<?,?> getSelectedProject()
BuildPipelineView
getSelectedProject in class BuildPipelineView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||