Class OrganizationFolderPipelineImpl

  • All Implemented Interfaces:
    io.jenkins.blueocean.rest.model.BlueContainerItem, io.jenkins.blueocean.rest.model.BlueManagedSource, io.jenkins.blueocean.rest.model.BluePipelineItem, io.jenkins.blueocean.rest.model.BlueRunnableItem, io.jenkins.blueocean.rest.Reachable

    public abstract class OrganizationFolderPipelineImpl
    extends io.jenkins.blueocean.rest.model.BlueOrganizationFolder
    BlueOcean abstraction of OrganizationFolder
    Author:
    Vivek Pandey
    • Constructor Detail

      • OrganizationFolderPipelineImpl

        public OrganizationFolderPipelineImpl​(io.jenkins.blueocean.rest.model.BlueOrganization organization,
                                              jenkins.branch.OrganizationFolder folder,
                                              io.jenkins.blueocean.rest.hal.Link parent)
    • Method Detail

      • getIcon

        public io.jenkins.blueocean.rest.model.BlueIcon getIcon()
        Specified by:
        getIcon in interface io.jenkins.blueocean.rest.model.BlueContainerItem
        Specified by:
        getIcon in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getPipelines

        @Navigable
        public io.jenkins.blueocean.rest.model.BluePipelineContainer getPipelines()
        Specified by:
        getPipelines in interface io.jenkins.blueocean.rest.model.BlueContainerItem
        Specified by:
        getPipelines in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getNumberOfFolders

        public Integer getNumberOfFolders()
        Specified by:
        getNumberOfFolders in interface io.jenkins.blueocean.rest.model.BlueContainerItem
        Specified by:
        getNumberOfFolders in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getNumberOfPipelines

        public Integer getNumberOfPipelines()
        Specified by:
        getNumberOfPipelines in interface io.jenkins.blueocean.rest.model.BlueContainerItem
        Specified by:
        getNumberOfPipelines in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getRuns

        @Navigable
        public io.jenkins.blueocean.rest.model.BlueRunContainer getRuns()
        Specified by:
        getRuns in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
        Overrides:
        getRuns in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getActions

        public Collection<io.jenkins.blueocean.rest.model.BlueActionProxy> getActions()
        Specified by:
        getActions in interface io.jenkins.blueocean.rest.model.BluePipelineItem
        Specified by:
        getActions in class io.jenkins.blueocean.rest.model.BluePipeline
      • getOrganizationName

        public String getOrganizationName()
        Specified by:
        getOrganizationName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
        Specified by:
        getOrganizationName in class io.jenkins.blueocean.rest.model.BluePipeline
      • getOrganization

        @Nonnull
        public io.jenkins.blueocean.rest.model.BlueOrganization getOrganization()
        Specified by:
        getOrganization in interface io.jenkins.blueocean.rest.model.BluePipelineItem
        Specified by:
        getOrganization in class io.jenkins.blueocean.rest.model.BluePipeline
      • getName

        public String getName()
        Specified by:
        getName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
        Specified by:
        getName in class io.jenkins.blueocean.rest.model.BluePipeline
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
        Specified by:
        getDisplayName in class io.jenkins.blueocean.rest.model.BluePipeline
      • getFullName

        public String getFullName()
        Specified by:
        getFullName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
        Specified by:
        getFullName in class io.jenkins.blueocean.rest.model.BluePipeline
      • getFullDisplayName

        public String getFullDisplayName()
        Specified by:
        getFullDisplayName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
        Specified by:
        getFullDisplayName in class io.jenkins.blueocean.rest.model.BluePipeline
      • getLatestRun

        @Exported(inline=true)
        public io.jenkins.blueocean.rest.model.BlueRun getLatestRun()
        Specified by:
        getLatestRun in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
        Overrides:
        getLatestRun in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getPipelineFolderNames

        public Iterable<String> getPipelineFolderNames()
        Specified by:
        getPipelineFolderNames in interface io.jenkins.blueocean.rest.model.BlueContainerItem
        Specified by:
        getPipelineFolderNames in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getLink

        public io.jenkins.blueocean.rest.hal.Link getLink()
      • isScanAllRepos

        public boolean isScanAllRepos()
        Certain SCM provider organization folder implementation might support filtered repo search, if thats the case this method must be overridden by their implementations.
        Specified by:
        isScanAllRepos in class io.jenkins.blueocean.rest.model.BlueOrganizationFolder
      • getScmSource

        public io.jenkins.blueocean.rest.model.BlueScmSource getScmSource()
        Specified by:
        getScmSource in class io.jenkins.blueocean.rest.model.BlueOrganizationFolder
      • getQueue

        public io.jenkins.blueocean.rest.model.BlueQueueContainer getQueue()
        Specified by:
        getQueue in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
        Overrides:
        getQueue in class io.jenkins.blueocean.rest.model.BluePipelineFolder
      • getParameters

        public List<Object> getParameters()
        Specified by:
        getParameters in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
        Specified by:
        getParameters in class io.jenkins.blueocean.rest.model.BluePipeline
      • favorite

        public io.jenkins.blueocean.rest.model.BlueFavorite favorite​(@JsonBody
                                                                     io.jenkins.blueocean.rest.model.BlueFavoriteAction favoriteAction)
        Specified by:
        favorite in class io.jenkins.blueocean.rest.model.BluePipeline
      • getPermissions

        public Map<String,​Boolean> getPermissions()
        Specified by:
        getPermissions in class io.jenkins.blueocean.rest.model.BluePipeline
      • getScm

        public io.jenkins.blueocean.rest.model.BluePipelineScm getScm()
        Specified by:
        getScm in interface io.jenkins.blueocean.rest.model.BlueManagedSource
        Specified by:
        getScm in class io.jenkins.blueocean.rest.model.BluePipeline
      • getFolder

        protected jenkins.branch.OrganizationFolder getFolder()
      • getTrends

        public io.jenkins.blueocean.rest.model.BlueTrendContainer getTrends()
        Specified by:
        getTrends in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
        Specified by:
        getTrends in class io.jenkins.blueocean.rest.model.BluePipeline
      • getDisabled

        public Boolean getDisabled()
        Specified by:
        getDisabled in class io.jenkins.blueocean.rest.model.BluePipeline
      • enable

        public void enable()
                    throws IOException
        Specified by:
        enable in class io.jenkins.blueocean.rest.model.BluePipeline
        Throws:
        IOException
      • disable

        public void disable()
                     throws IOException
        Specified by:
        disable in class io.jenkins.blueocean.rest.model.BluePipeline
        Throws:
        IOException