Class PipelineRunImpl
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueRun
io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
io.jenkins.blueocean.rest.impl.pipeline.PipelineRunImpl
- All Implemented Interfaces:
io.jenkins.blueocean.rest.model.BlueItemRun
,io.jenkins.blueocean.rest.Reachable
public class PipelineRunImpl
extends io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
Pipeline Run
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl
io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl.BlueCauseImpl
Nested classes/interfaces inherited from class io.jenkins.blueocean.rest.model.BlueRun
io.jenkins.blueocean.rest.model.BlueRun.BlueCause, io.jenkins.blueocean.rest.model.BlueRun.BlueRunResult, io.jenkins.blueocean.rest.model.BlueRun.BlueRunState
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator<io.jenkins.blueocean.rest.model.BlueRun>
Fields inherited from class io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl
BLUEOCEAN_FEATURE_RUN_DESCRIPTION_ENABLED, DATE_FORMAT, organization, parent, run
Fields inherited from class io.jenkins.blueocean.rest.model.BlueRun
ACTIONS, CAUSE_OF_BLOCKAGE, CAUSES, DATE_FORMAT_STRING, DEFAULT_BLOCKING_STOP_TIMEOUT_IN_SECS, DESCRIPTION, DURATION_IN_MILLIS, END_TIME, ENQUEUE_TIME, ESTIMATED_DURATION_IN_MILLIS, ID, NAME, ORGANIZATION, PIPELINE, REPLAYABLE, RESULT, RUN_SUMMARY, START_TIME, STATE, TYPE
-
Constructor Summary
ConstructorDescriptionPipelineRunImpl
(org.jenkinsci.plugins.workflow.job.WorkflowRun run, io.jenkins.blueocean.rest.Reachable parent, io.jenkins.blueocean.rest.model.BlueOrganization organization) -
Method Summary
Modifier and TypeMethodDescriptionio.jenkins.blueocean.rest.model.BluePipelineNodeContainer
getNodes()
io.jenkins.blueocean.rest.model.BlueRun.BlueRunState
io.jenkins.blueocean.rest.model.BluePipelineStepContainer
getSteps()
boolean
io.jenkins.blueocean.rest.model.BlueRun
replay()
io.jenkins.blueocean.rest.model.BlueRun
Methods inherited from class io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl
getActions, getArtifacts, getArtifactsZipFile, getBlueTestSummary, getCauses, getChangeSet, getDescription, getDurationInMillis, getDynamic, getEndTime, getEndTimeString, getEnQueueTime, getEnQueueTimeString, getEstimatedDurtionInMillis, getId, getLink, getLinks, getLog, getName, getOrganization, getPipeline, getResult, getRunSummary, getStartTime, getStartTimeString, getTests, getTestSummary, getType, stop
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getState
-
Field Details
-
LATEST_RUN_START_TIME_COMPARATOR
public static final Comparator<io.jenkins.blueocean.rest.model.BlueRun> LATEST_RUN_START_TIME_COMPARATOR
-
-
Constructor Details
-
PipelineRunImpl
public PipelineRunImpl(org.jenkinsci.plugins.workflow.job.WorkflowRun run, io.jenkins.blueocean.rest.Reachable parent, io.jenkins.blueocean.rest.model.BlueOrganization organization)
-
-
Method Details
-
getBranch
-
getPullRequest
-
getStateObj
public io.jenkins.blueocean.rest.model.BlueRun.BlueRunState getStateObj()- Specified by:
getStateObj
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Overrides:
getStateObj
in classio.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
-
replay
public io.jenkins.blueocean.rest.model.BlueRun replay()- Overrides:
replay
in classio.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
-
isReplayable
public boolean isReplayable()- Specified by:
isReplayable
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Overrides:
isReplayable
in classio.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
-
getNodes
@Navigable public io.jenkins.blueocean.rest.model.BluePipelineNodeContainer getNodes()- Overrides:
getNodes
in classio.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
-
getSteps
@Navigable public io.jenkins.blueocean.rest.model.BluePipelineStepContainer getSteps()- Overrides:
getSteps
in classio.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
-
stop
public io.jenkins.blueocean.rest.model.BlueRun stop(@QueryParameter("blocking") Boolean blocking, @QueryParameter("timeOutInSecs") Integer timeOutInSecs) - Overrides:
stop
in classio.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
-
getCommitId
-
getCommitUrl
-
getCauseOfBlockage
- Specified by:
getCauseOfBlockage
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Overrides:
getCauseOfBlockage
in classio.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<org.jenkinsci.plugins.workflow.job.WorkflowRun>
-