@ExportedBean public class BuildFlowAction extends Object implements Action
| Modifier and Type | Class and Description |
|---|---|
static class |
BuildFlowAction.BuildActionFactory |
static class |
BuildFlowAction.ProjectActionFactory |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
buildMatrix() |
void |
doBuildFlow(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
List<Set<Object>> |
getAllItemsInFlow(int lookBack)
Returns all items in the build flow, populated from the root.
|
Api |
getApi()
Remote API access.
|
BuildFlowOptions |
getBuildFlowOptions() |
String |
getDisplayName() |
String |
getIconFileName() |
Run |
getRootUpstreamBuild() |
Run |
getTarget() |
String |
getUrlName() |
static boolean |
hasUpstreamOrDownstreamBuilds(Run target) |
boolean |
isAnyBuildOngoing() |
boolean |
isCacheRefreshing() |
boolean |
shouldDisplayBuildFlow() |
public Run getRootUpstreamBuild()
public BuildFlowOptions getBuildFlowOptions()
@Exported(visibility=1) public boolean isAnyBuildOngoing()
@Exported(visibility=1) public boolean isCacheRefreshing()
public boolean shouldDisplayBuildFlow()
public static boolean hasUpstreamOrDownstreamBuilds(Run target)
public Run getTarget()
public Matrix buildMatrix()
public List<Set<Object>> getAllItemsInFlow(int lookBack)
BuildFlowOptions.isShowUpstreamBuilds().lookBack - number of historic build flows to fetch, based on the root target's previous
builds.public String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getUrlName()
getUrlName in interface Actionpublic String getIconFileName()
getIconFileName in interface Actionpublic void doBuildFlow(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic Api getApi()
Copyright © 2016–2021. All rights reserved.