Class AbstractRunImpl<T extends Run>
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueRun
io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl<T>
- All Implemented Interfaces:
io.jenkins.blueocean.rest.model.BlueItemRun
,io.jenkins.blueocean.rest.Reachable
- Direct Known Subclasses:
AbstractBlueRunSummary
,DefaultRunImpl
,FreeStyleRunImpl
public abstract class AbstractRunImpl<T extends Run>
extends io.jenkins.blueocean.rest.model.BlueRun
Basic
BlueRun
implementation.- Author:
- Vivek Pandey
-
Nested Class Summary
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 String
static final DateTimeFormatter
protected final io.jenkins.blueocean.rest.model.BlueOrganization
protected final io.jenkins.blueocean.rest.Reachable
protected final T
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
ConstructorDescriptionAbstractRunImpl
(T run, io.jenkins.blueocean.rest.Reachable parent, io.jenkins.blueocean.rest.model.BlueOrganization organization) -
Method Summary
Modifier and TypeMethodDescriptionCollection<io.jenkins.blueocean.rest.model.BlueActionProxy>
io.jenkins.blueocean.rest.model.BlueArtifactContainer
io.jenkins.blueocean.rest.model.BlueTestSummary
Collection<io.jenkins.blueocean.rest.model.BlueRun.BlueCause>
io.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueChangeSetEntry>
getDynamic
(String token) Handles HTTP path handled by actions or other extensionsgetId()
io.jenkins.blueocean.rest.hal.Link
getLink()
io.jenkins.blueocean.rest.hal.Links
getLinks()
getLog()
getName()
io.jenkins.blueocean.rest.model.BluePipelineNodeContainer
getNodes()
io.jenkins.blueocean.rest.model.BlueRun.BlueRunResult
io.jenkins.blueocean.rest.model.BlueRun.BlueRunState
io.jenkins.blueocean.rest.model.BluePipelineStepContainer
getSteps()
io.jenkins.blueocean.rest.model.BlueTestResultContainer
getTests()
io.jenkins.blueocean.rest.model.BlueTestSummary
getType()
boolean
io.jenkins.blueocean.rest.model.BlueRun
replay()
io.jenkins.blueocean.rest.model.BlueRun
protected io.jenkins.blueocean.rest.model.BlueRun
stop
(Boolean blocking, Integer timeOutInSecs, StoppableRun stoppableRun) Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getState
-
Field Details
-
BLUEOCEAN_FEATURE_RUN_DESCRIPTION_ENABLED
- See Also:
-
DATE_FORMAT
-
run
-
organization
protected final io.jenkins.blueocean.rest.model.BlueOrganization organization -
parent
protected final io.jenkins.blueocean.rest.Reachable parent
-
-
Constructor Details
-
AbstractRunImpl
public AbstractRunImpl(T run, io.jenkins.blueocean.rest.Reachable parent, io.jenkins.blueocean.rest.model.BlueOrganization organization)
-
-
Method Details
-
getChangeSet
@Exported(inline=true) public io.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueChangeSetEntry> getChangeSet()- Specified by:
getChangeSet
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getChangeSet
in classio.jenkins.blueocean.rest.model.BlueRun
-
getOrganization
- Specified by:
getOrganization
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getOrganization
in classio.jenkins.blueocean.rest.model.BlueRun
-
getId
- Specified by:
getId
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getId
in classio.jenkins.blueocean.rest.model.BlueRun
-
getPipeline
- Specified by:
getPipeline
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getPipeline
in classio.jenkins.blueocean.rest.model.BlueRun
-
getName
- Specified by:
getName
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getName
in classio.jenkins.blueocean.rest.model.BlueRun
-
getDescription
- Specified by:
getDescription
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getDescription
in classio.jenkins.blueocean.rest.model.BlueRun
-
getStartTime
- Specified by:
getStartTime
in classio.jenkins.blueocean.rest.model.BlueRun
-
getEnQueueTime
- Specified by:
getEnQueueTime
in classio.jenkins.blueocean.rest.model.BlueRun
-
getEnQueueTimeString
- Specified by:
getEnQueueTimeString
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getEnQueueTimeString
in classio.jenkins.blueocean.rest.model.BlueRun
-
getStartTimeString
- Specified by:
getStartTimeString
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getStartTimeString
in classio.jenkins.blueocean.rest.model.BlueRun
-
getEndTimeString
- Specified by:
getEndTimeString
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getEndTimeString
in classio.jenkins.blueocean.rest.model.BlueRun
-
getStateObj
public io.jenkins.blueocean.rest.model.BlueRun.BlueRunState getStateObj()- Specified by:
getStateObj
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getStateObj
in classio.jenkins.blueocean.rest.model.BlueRun
-
getResult
public io.jenkins.blueocean.rest.model.BlueRun.BlueRunResult getResult()- Specified by:
getResult
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getResult
in classio.jenkins.blueocean.rest.model.BlueRun
-
getEndTime
- Specified by:
getEndTime
in classio.jenkins.blueocean.rest.model.BlueRun
-
getDurationInMillis
- Specified by:
getDurationInMillis
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getDurationInMillis
in classio.jenkins.blueocean.rest.model.BlueRun
-
getEstimatedDurtionInMillis
- Specified by:
getEstimatedDurtionInMillis
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getEstimatedDurtionInMillis
in classio.jenkins.blueocean.rest.model.BlueRun
-
getRunSummary
- Specified by:
getRunSummary
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getRunSummary
in classio.jenkins.blueocean.rest.model.BlueRun
-
getType
- Specified by:
getType
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getType
in classio.jenkins.blueocean.rest.model.BlueRun
-
getLog
- Specified by:
getLog
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getLog
in classio.jenkins.blueocean.rest.model.BlueRun
-
replay
public io.jenkins.blueocean.rest.model.BlueRun replay()- Specified by:
replay
in classio.jenkins.blueocean.rest.model.BlueRun
-
getCauses
- Specified by:
getCauses
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getCauses
in classio.jenkins.blueocean.rest.model.BlueRun
-
getCauseOfBlockage
- Specified by:
getCauseOfBlockage
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getCauseOfBlockage
in classio.jenkins.blueocean.rest.model.BlueRun
-
isReplayable
public boolean isReplayable()- Specified by:
isReplayable
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
isReplayable
in classio.jenkins.blueocean.rest.model.BlueRun
-
getArtifacts
public io.jenkins.blueocean.rest.model.BlueArtifactContainer getArtifacts()- Specified by:
getArtifacts
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getArtifacts
in classio.jenkins.blueocean.rest.model.BlueRun
-
getNodes
public io.jenkins.blueocean.rest.model.BluePipelineNodeContainer getNodes()- Specified by:
getNodes
in classio.jenkins.blueocean.rest.model.BlueRun
-
getSteps
public io.jenkins.blueocean.rest.model.BluePipelineStepContainer getSteps()- Specified by:
getSteps
in classio.jenkins.blueocean.rest.model.BlueRun
-
getTests
public io.jenkins.blueocean.rest.model.BlueTestResultContainer getTests()- Specified by:
getTests
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getTests
in classio.jenkins.blueocean.rest.model.BlueRun
-
getTestSummary
public io.jenkins.blueocean.rest.model.BlueTestSummary getTestSummary()- Specified by:
getTestSummary
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getTestSummary
in classio.jenkins.blueocean.rest.model.BlueRun
-
getBlueTestSummary
public io.jenkins.blueocean.rest.model.BlueTestSummary getBlueTestSummary()- Specified by:
getBlueTestSummary
in classio.jenkins.blueocean.rest.model.BlueRun
-
getActions
- Specified by:
getActions
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getActions
in classio.jenkins.blueocean.rest.model.BlueRun
-
stop
public io.jenkins.blueocean.rest.model.BlueRun stop(@QueryParameter("blocking") Boolean blocking, @QueryParameter("timeOutInSecs") Integer timeOutInSecs) - Specified by:
stop
in classio.jenkins.blueocean.rest.model.BlueRun
-
getArtifactsZipFile
- Specified by:
getArtifactsZipFile
in interfaceio.jenkins.blueocean.rest.model.BlueItemRun
- Specified by:
getArtifactsZipFile
in classio.jenkins.blueocean.rest.model.BlueRun
-
stop
protected io.jenkins.blueocean.rest.model.BlueRun stop(Boolean blocking, Integer timeOutInSecs, StoppableRun stoppableRun) -
getDynamic
Handles HTTP path handled by actions or other extensions- Parameters:
token
- path token that an action or extension can handle- Returns:
- action or extension that handles this path.
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
getLinks
public io.jenkins.blueocean.rest.hal.Links getLinks()- Overrides:
getLinks
in classio.jenkins.blueocean.rest.model.Resource
-