public class DeliveryPipelineView extends hudson.model.View implements PipelineView
Modifier and Type | Class and Description |
---|---|
static class |
DeliveryPipelineView.ComponentSpec |
static class |
DeliveryPipelineView.DescriptorImpl |
static class |
DeliveryPipelineView.ItemListenerImpl |
static class |
DeliveryPipelineView.RegExpSpec |
Constructor and Description |
---|
DeliveryPipelineView(String name) |
DeliveryPipelineView(String name,
hudson.model.ViewGroup owner) |
Modifier and Type | Method and Description |
---|---|
void |
abortBuild(String projectName,
String buildId) |
boolean |
contains(hudson.model.TopLevelItem item) |
hudson.model.Item |
doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
String |
getAggregatedChangesGroupingPattern() |
hudson.model.Api |
getApi() |
List<DeliveryPipelineView.ComponentSpec> |
getComponentSpecs() |
String |
getDescription() |
String |
getEmbeddedCss() |
String |
getError()
Exposes any error that is currently associated with the pipeline view.
|
String |
getFullScreenCss() |
Collection<hudson.model.TopLevelItem> |
getItems() |
String |
getLastUpdated()
A date time string representing when the pipeline view was last updated.
|
int |
getMaxNumberOfVisiblePipelines() |
int |
getNoOfColumns() |
int |
getNoOfPipelines() |
boolean |
getPagingEnabled() |
List<Component> |
getPipelines()
Resolve the pipelines associated with this view.
|
List<DeliveryPipelineView.RegExpSpec> |
getRegexpFirstJobs() |
boolean |
getShowAvatars() |
String |
getSorting() |
int |
getUpdateInterval() |
String |
getViewUrl() |
boolean |
isAllowAbort()
Whether to allow running pipelines to be aborted from the pipeline view.
|
boolean |
isAllowManualTriggers() |
boolean |
isAllowPipelineStart()
Whether to allow a new pipeline to be started from the pipeline view.
|
boolean |
isAllowRebuild() |
boolean |
isFullScreenView() |
boolean |
isLinkRelative() |
boolean |
isLinkToConsoleLog() |
boolean |
isShowAbsoluteDateTime() |
boolean |
isShowAggregatedChanges() |
boolean |
isShowAggregatedPipeline() |
boolean |
isShowChanges() |
boolean |
isShowDescription() |
boolean |
isShowPromotions() |
boolean |
isShowStaticAnalysisResults() |
boolean |
isShowTestResults() |
boolean |
isShowTotalBuildTime() |
void |
onProjectRenamed(hudson.model.Item item,
String oldName,
String newName) |
void |
setAggregatedChangesGroupingPattern(String aggregatedChangesGroupingPattern) |
void |
setAllowAbort(boolean allowAbort) |
void |
setAllowManualTriggers(boolean allowManualTriggers) |
void |
setAllowPipelineStart(boolean allowPipelineStart) |
void |
setAllowRebuild(boolean allowRebuild) |
void |
setComponentSpecs(List<DeliveryPipelineView.ComponentSpec> componentSpecs) |
void |
setDescription(String description) |
void |
setEmbeddedCss(String embeddedCss) |
void |
setFullScreenCss(String fullScreenCss) |
void |
setLinkRelative(boolean linkRelative) |
void |
setLinkToConsoleLog(boolean linkToConsoleLog) |
void |
setMaxNumberOfVisiblePipelines(int maxNumberOfVisiblePipelines) |
void |
setNoOfColumns(int noOfColumns) |
void |
setNoOfPipelines(int noOfPipelines) |
void |
setPagingEnabled(boolean pagingEnabled) |
void |
setRegexpFirstJobs(List<DeliveryPipelineView.RegExpSpec> regexpFirstJobs) |
void |
setShowAbsoluteDateTime(boolean showAbsoluteDateTime) |
void |
setShowAggregatedChanges(boolean showAggregatedChanges) |
void |
setShowAggregatedPipeline(boolean showAggregatedPipeline) |
void |
setShowAvatars(boolean showAvatars) |
void |
setShowChanges(boolean showChanges) |
void |
setShowDescription(boolean showDescription) |
void |
setShowPromotions(boolean showPromotions) |
void |
setShowStaticAnalysisResults(boolean showStaticAnalysisResults) |
void |
setShowTestResults(boolean showTestResults) |
void |
setShowTotalBuildTime(boolean showTotalBuildTime) |
void |
setSorting(String sorting) |
void |
setUpdateInterval(int updateInterval) |
protected boolean |
showPaging() |
protected void |
submit(org.kohsuke.stapler.StaplerRequest req) |
protected static String |
triggerExceptionMessage(String projectName,
String upstreamName,
String buildId) |
void |
triggerManual(String projectName,
String upstreamName,
String buildId) |
void |
triggerRebuild(String projectName,
String buildId) |
protected static String |
withoutFolderPrefix(String projectName) |
all, allInstantiable, create, createViewFromXML, doCheckJobName, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doItemCategories, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getAsynchPeople, getBuilds, getColumns, getComputers, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getWidgets, hasPeople, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, onJobRenamed, rename, save, toString, updateByXml, updateTransientActions, writeXml
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
@DataBoundConstructor public DeliveryPipelineView(String name)
public DeliveryPipelineView(String name, hudson.model.ViewGroup owner)
public List<DeliveryPipelineView.RegExpSpec> getRegexpFirstJobs()
public void setRegexpFirstJobs(List<DeliveryPipelineView.RegExpSpec> regexpFirstJobs)
public boolean getShowAvatars()
public void setShowAvatars(boolean showAvatars)
public String getSorting()
public void setSorting(String sorting)
public List<DeliveryPipelineView.ComponentSpec> getComponentSpecs()
public void setComponentSpecs(List<DeliveryPipelineView.ComponentSpec> componentSpecs)
public int getNoOfPipelines()
public boolean isShowAggregatedPipeline()
public void setNoOfPipelines(int noOfPipelines)
public boolean isShowChanges()
public void setShowChanges(boolean showChanges)
@Exported public boolean isShowTotalBuildTime()
public void setShowTotalBuildTime(boolean showTotalBuildTime)
public void setShowAggregatedPipeline(boolean showAggregatedPipeline)
@Exported public boolean isAllowPipelineStart()
PipelineView
isAllowPipelineStart
in interface PipelineView
public void setAllowPipelineStart(boolean allowPipelineStart)
@Exported public boolean isAllowAbort()
PipelineView
isAllowAbort
in interface PipelineView
public void setAllowAbort(boolean allowAbort)
@Exported public boolean isAllowManualTriggers()
public void setAllowManualTriggers(boolean allowManualTriggers)
public int getNoOfColumns()
public void setNoOfColumns(int noOfColumns)
public String getFullScreenCss()
public int getUpdateInterval()
public void setUpdateInterval(int updateInterval)
public void setFullScreenCss(String fullScreenCss)
public String getEmbeddedCss()
public void setEmbeddedCss(String embeddedCss)
@Exported public boolean getPagingEnabled()
public boolean isFullScreenView()
public void onProjectRenamed(hudson.model.Item item, String oldName, String newName)
@Exported public String getViewUrl()
getViewUrl
in class hudson.model.View
public hudson.model.Api getApi()
getApi
in class hudson.model.View
@Exported public String getLastUpdated()
PipelineView
getLastUpdated
in interface PipelineView
@Exported public String getError()
PipelineView
getError
in interface PipelineView
@Exported public boolean isAllowRebuild()
public void setAllowRebuild(boolean allowRebuild)
@Exported public boolean isShowDescription()
@Exported public boolean isShowPromotions()
@Exported public boolean isShowTestResults()
@Exported public boolean isShowStaticAnalysisResults()
@Exported public boolean isLinkRelative()
public void setLinkRelative(boolean linkRelative)
public void setShowDescription(boolean showDescription)
public void setShowPromotions(boolean showPromotions)
public void setShowTestResults(boolean showTestResults)
public void setShowStaticAnalysisResults(boolean showStaticAnalysisResults)
public void setPagingEnabled(boolean pagingEnabled)
@Exported public boolean isShowAbsoluteDateTime()
public void setShowAbsoluteDateTime(boolean showAbsoluteDateTime)
@Exported public boolean isShowAggregatedChanges()
public void setShowAggregatedChanges(boolean showAggregatedChanges)
@Exported public String getAggregatedChangesGroupingPattern()
public void setAggregatedChangesGroupingPattern(String aggregatedChangesGroupingPattern)
public int getMaxNumberOfVisiblePipelines()
public void setMaxNumberOfVisiblePipelines(int maxNumberOfVisiblePipelines)
@Exported public boolean isLinkToConsoleLog()
public void setLinkToConsoleLog(boolean linkToConsoleLog)
@Exported public String getDescription()
getDescription
in class hudson.model.View
public void setDescription(String description)
@JavaScriptMethod public void triggerManual(String projectName, String upstreamName, String buildId) throws TriggerException, org.acegisecurity.AuthenticationException
triggerManual
in interface PipelineView
TriggerException
org.acegisecurity.AuthenticationException
public void triggerRebuild(String projectName, String buildId)
triggerRebuild
in interface PipelineView
public void abortBuild(String projectName, String buildId) throws TriggerException
abortBuild
in interface PipelineView
TriggerException
protected static String triggerExceptionMessage(String projectName, String upstreamName, String buildId)
@Exported public List<Component> getPipelines()
PipelineView
getPipelines
in interface PipelineView
protected boolean showPaging()
public Collection<hudson.model.TopLevelItem> getItems()
getItems
in class hudson.model.View
public boolean contains(hudson.model.TopLevelItem item)
contains
in class hudson.model.View
protected void submit(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException, hudson.model.Descriptor.FormException
submit
in class hudson.model.View
IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
public hudson.model.Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
doCreateItem
in class hudson.model.View
IOException
javax.servlet.ServletException
Copyright © 2016–2020 Diabol AB. All rights reserved.