Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Job 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BranchImpl.Branch getBranch()  
      io.jenkins.blueocean.rest.hal.Link getLink()  
      BranchImpl.PullRequest getPullRequest()  
      io.jenkins.blueocean.rest.model.BluePipelineScm getScm()  
      io.jenkins.blueocean.rest.model.BlueTrendContainer getTrends()  
      • 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 Detail

      • job

        protected final Job job
    • Constructor Detail

      • BranchImpl

        public BranchImpl​(io.jenkins.blueocean.rest.model.BlueOrganization org,
                          Job job,
                          io.jenkins.blueocean.rest.hal.Link parent)
    • Method Detail

      • 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