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

public class BranchImpl extends PipelineImpl
Author:
Vivek Pandey
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Job
     

    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

    Constructors
    Constructor
    Description
    BranchImpl(io.jenkins.blueocean.rest.model.BlueOrganization org, Job job, io.jenkins.blueocean.rest.hal.Link parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    io.jenkins.blueocean.rest.hal.Link
     
     
    io.jenkins.blueocean.rest.model.BluePipelineScm
     
    io.jenkins.blueocean.rest.model.BlueTrendContainer
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • job

      protected final Job 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

      @Exported(name="branch", inline=true) @CheckForNull public BranchImpl.Branch getBranch()
    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()
      Specified by:
      getLink in interface io.jenkins.blueocean.rest.Reachable
      Overrides:
      getLink in class io.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl
    • getScm

      @Navigable public io.jenkins.blueocean.rest.model.BluePipelineScm getScm()
      Specified by:
      getScm in interface io.jenkins.blueocean.rest.model.BlueManagedSource
      Overrides:
      getScm in class io.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl
    • getTrends

      public io.jenkins.blueocean.rest.model.BlueTrendContainer getTrends()
      Specified by:
      getTrends in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Overrides:
      getTrends in class PipelineImpl