public class Pipeline extends GenericPipeline
VISIBILITY
Constructor and Description |
---|
Pipeline(String name,
String version,
List<Stage> stages,
List<Change> changes,
List<TriggerCause> triggeredBy,
String timestamp) |
Modifier and Type | Method and Description |
---|---|
List<Change> |
getChanges() |
Set<UserInfo> |
getContributors() |
int |
getId() |
long |
getLastActivity() |
List<Stage> |
getStages() |
String |
getTimestamp() |
long |
getTotalBuildTime() |
List<TriggerCause> |
getTriggeredBy() |
String |
getVersion() |
boolean |
isAggregated() |
static Pipeline |
resolve(org.jenkinsci.plugins.workflow.job.WorkflowJob project,
org.jenkinsci.plugins.workflow.job.WorkflowRun build) |
void |
setChanges(List<Change> changes) |
getName
@Exported public String getVersion()
@Exported public String getTimestamp()
@Exported public boolean isAggregated()
@Exported public int getId()
@Exported public long getTotalBuildTime()
@Exported public List<TriggerCause> getTriggeredBy()
public long getLastActivity()
getLastActivity
in class GenericPipeline
public static Pipeline resolve(org.jenkinsci.plugins.workflow.job.WorkflowJob project, org.jenkinsci.plugins.workflow.job.WorkflowRun build) throws PipelineException
PipelineException
Copyright © 2016–2020 Diabol AB. All rights reserved.