public class WorkflowPipelineView extends hudson.model.View implements PipelineView
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowPipelineView.ComponentSpec |
static class |
WorkflowPipelineView.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_INTERVAL |
static int |
DEFAULT_NO_OF_PIPELINES |
| Constructor and Description |
|---|
WorkflowPipelineView(String name) |
WorkflowPipelineView(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) |
hudson.model.Api |
getApi() |
List<WorkflowPipelineView.ComponentSpec> |
getComponentSpecs() |
String |
getDescription() |
String |
getError()
Exposes any error that is currently associated with the pipeline view.
|
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() |
hudson.model.ItemGroup<? extends hudson.model.TopLevelItem> |
getOwnerItemGroup() |
List<Component> |
getPipelines()
Resolve the pipelines associated with this view.
|
String |
getProject() |
String |
getSorting() |
int |
getUpdateInterval() |
String |
getViewUrl() |
boolean |
isAllowAbort()
Whether to allow running pipelines to be aborted from the pipeline view.
|
boolean |
isAllowPipelineStart()
Whether to allow a new pipeline to be started from the pipeline view.
|
boolean |
isLinkToConsoleLog() |
boolean |
isShowAbsoluteDateTime() |
boolean |
isShowChanges() |
void |
setAllowAbort(boolean allowAbort) |
void |
setAllowPipelineStart(boolean allowPipelineStart) |
void |
setComponentSpecs(List<WorkflowPipelineView.ComponentSpec> componentSpecs) |
void |
setDescription(String description) |
void |
setLinkToConsoleLog(boolean linkToConsoleLog) |
void |
setMaxNumberOfVisiblePipelines(int maxNumberOfVisiblePipelines) |
void |
setNoOfColumns(int noOfColumns) |
void |
setNoOfPipelines(int noOfPipelines) |
void |
setProject(String project) |
void |
setShowAbsoluteDateTime(boolean showAbsoluteDateTime) |
void |
setShowChanges(boolean showChanges) |
void |
setSorting(String sorting) |
void |
setUpdateInterval(int updateInterval) |
protected void |
submit(org.kohsuke.stapler.StaplerRequest req) |
void |
triggerManual(String projectName,
String upstreamName,
String buildId) |
void |
triggerRebuild(String projectName,
String buildId) |
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, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getWidgets, hasPeople, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, onJobRenamed, rename, save, toString, updateByXml, updateTransientActions, writeXmlgetSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic static final int DEFAULT_INTERVAL
public static final int DEFAULT_NO_OF_PIPELINES
@DataBoundConstructor public WorkflowPipelineView(String name)
public WorkflowPipelineView(String name, hudson.model.ViewGroup owner)
public int getNoOfColumns()
public void setNoOfColumns(int noOfColumns)
public int getUpdateInterval()
public void setUpdateInterval(int updateInterval)
public int getNoOfPipelines()
public void setNoOfPipelines(int noOfPipelines)
public String getSorting()
public void setSorting(String sorting)
@Exported public boolean isAllowPipelineStart()
PipelineViewisAllowPipelineStart in interface PipelineViewpublic void setAllowPipelineStart(boolean allowPipelineStart)
@Exported public boolean isAllowAbort()
PipelineViewisAllowAbort in interface PipelineViewpublic void setAllowAbort(boolean allowAbort)
public boolean isShowChanges()
public void setShowChanges(boolean showChanges)
@Exported public boolean isShowAbsoluteDateTime()
public void setShowAbsoluteDateTime(boolean showAbsoluteDateTime)
public int getMaxNumberOfVisiblePipelines()
public void setMaxNumberOfVisiblePipelines(int maxNumberOfVisiblePipelines)
public String getProject()
public void setProject(String project)
public List<WorkflowPipelineView.ComponentSpec> getComponentSpecs()
public void setComponentSpecs(List<WorkflowPipelineView.ComponentSpec> componentSpecs)
@Exported public String getLastUpdated()
PipelineViewgetLastUpdated in interface PipelineView@Exported public boolean isLinkToConsoleLog()
public void setLinkToConsoleLog(boolean linkToConsoleLog)
@Exported public String getDescription()
getDescription in class hudson.model.Viewpublic void setDescription(String description)
@Exported public String getError()
PipelineViewgetError in interface PipelineView@Exported public List<Component> getPipelines()
PipelineViewgetPipelines in interface PipelineView@Exported public String getViewUrl()
getViewUrl in class hudson.model.Viewpublic hudson.model.Api getApi()
getApi in class hudson.model.Viewpublic hudson.model.Item doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
doCreateItem in class hudson.model.ViewIOExceptionjavax.servlet.ServletExceptionpublic void triggerManual(String projectName, String upstreamName, String buildId) throws org.acegisecurity.AuthenticationException
triggerManual in interface PipelineVieworg.acegisecurity.AuthenticationExceptionpublic void triggerRebuild(String projectName, String buildId)
triggerRebuild in interface PipelineViewpublic void abortBuild(String projectName, String buildId) throws TriggerException
abortBuild in interface PipelineViewTriggerExceptionpublic Collection<hudson.model.TopLevelItem> getItems()
getItems in class hudson.model.Viewpublic boolean contains(hudson.model.TopLevelItem item)
contains in class hudson.model.Viewpublic hudson.model.ItemGroup<? extends hudson.model.TopLevelItem> getOwnerItemGroup()
getOwnerItemGroup in class hudson.model.Viewprotected void submit(org.kohsuke.stapler.StaplerRequest req)
throws IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
submit in class hudson.model.ViewIOExceptionjavax.servlet.ServletExceptionhudson.model.Descriptor.FormExceptionCopyright © 2016–2020 Diabol AB. All rights reserved.