|
||||||||||
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.AsynchPeople, 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, READ, SORTER, transientActions |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
ReadOnlyBuildPipelineView(String displayName,
String description,
ProjectGridBuilder gridBuilder,
String noOfDisplayedBuilds,
boolean triggerOnlyLatestJob,
String cssUrl)
|
Method Summary | |
---|---|
boolean |
hasBuildPermission()
Checks whether the user has a permission to start a new instance of the pipeline. |
boolean |
hasPermission(hudson.security.Permission p)
|
Methods inherited from class hudson.model.View |
---|
all, allInstantiable, checkPermission, create, createViewFromXML, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getAsynchPeople, 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, toString, updateByXml, updateTransientActions, writeXml |
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, wait, wait, wait |
Constructor Detail |
---|
public ReadOnlyBuildPipelineView(String displayName, String description, ProjectGridBuilder gridBuilder, String noOfDisplayedBuilds, boolean triggerOnlyLatestJob, String cssUrl)
displayName
- display name of build pipeline viewdescription
- description of build pipeline viewgridBuilder
- controls the data to be displayed.noOfDisplayedBuilds
- number of displayed build of build pipeline viewtriggerOnlyLatestJob
- is trigger only latest job?cssUrl
- URL for the custom CSS file.Method Detail |
---|
public boolean hasBuildPermission()
BuildPipelineView
hasBuildPermission
in class BuildPipelineView
Item
public boolean hasPermission(hudson.security.Permission p)
hasPermission
in interface hudson.security.AccessControlled
hasPermission
in class BuildPipelineView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |