Class BranchImpl
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BluePipeline
io.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl
io.jenkins.blueocean.rest.impl.pipeline.PipelineImpl
io.jenkins.blueocean.rest.impl.pipeline.BranchImpl
- All Implemented Interfaces:
io.jenkins.blueocean.rest.model.BlueManagedSource
,io.jenkins.blueocean.rest.model.BluePipelineItem
,io.jenkins.blueocean.rest.model.BlueRunnableItem
,io.jenkins.blueocean.rest.Reachable
- Author:
- Vivek Pandey
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class io.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl
isRunning, organization
Fields inherited from class io.jenkins.blueocean.rest.model.BluePipeline
ACTIONS, CONFIGURE_PERMISSION, CREATE_PERMISSION, DISABLED, DISPLAY_NAME, ESTIMATED_DURATION, FULL_DISPLAY_NAME, FULL_NAME, LATEST_RUN, NAME, ORGANIZATION, PERMISSIONS, READ_PERMISSION, START_PERMISSION, STOP_PERMISSION, WEATHER_SCORE
-
Constructor Summary
ConstructorDescriptionBranchImpl
(io.jenkins.blueocean.rest.model.BlueOrganization org, Job job, io.jenkins.blueocean.rest.hal.Link parent) -
Method Summary
Methods inherited from class io.jenkins.blueocean.rest.impl.pipeline.PipelineImpl
getLatestRun
Methods inherited from class io.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl
delete, disable, enable, favorite, getActions, getBaseGroup, getDisabled, getDisplayName, getEstimatedDurationInMillis, getFullDisplayName, getFullDisplayName, getFullName, getFullName, getJob, getName, getOrganization, getOrganizationName, getParameterDefinitions, getParameters, getPermissions, getPermissions, getQueue, getRecursivePathFromFullName, getRuns, getWeatherScore, isFavorite
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Field Details
-
job
-
-
Constructor Details
-
BranchImpl
public BranchImpl(io.jenkins.blueocean.rest.model.BlueOrganization org, Job job, io.jenkins.blueocean.rest.hal.Link parent)
-
-
Method Details
-
getPullRequest
@Exported(name="pullRequest", inline=true, skipNull=true) @CheckForNull public BranchImpl.PullRequest getPullRequest() -
getBranch
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink()- Specified by:
getLink
in interfaceio.jenkins.blueocean.rest.Reachable
- Overrides:
getLink
in classio.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl
-
getScm
@Navigable public io.jenkins.blueocean.rest.model.BluePipelineScm getScm()- Specified by:
getScm
in interfaceio.jenkins.blueocean.rest.model.BlueManagedSource
- Overrides:
getScm
in classio.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl
-
getTrends
public io.jenkins.blueocean.rest.model.BlueTrendContainer getTrends()- Specified by:
getTrends
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getTrends
in classPipelineImpl
-