Class PipelineFolderImpl

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BluePipeline
io.jenkins.blueocean.rest.model.BluePipelineFolder
io.jenkins.blueocean.service.embedded.rest.PipelineFolderImpl
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 class PipelineFolderImpl extends io.jenkins.blueocean.rest.model.BluePipelineFolder
Author:
Vivek Pandey
  • Field Details

    • organization

      protected final io.jenkins.blueocean.rest.model.BlueOrganization organization
    • parent

      protected final io.jenkins.blueocean.rest.hal.Link parent
  • Constructor Details

    • PipelineFolderImpl

      public PipelineFolderImpl(io.jenkins.blueocean.rest.model.BlueOrganization organization, ItemGroup<?> folder, io.jenkins.blueocean.rest.hal.Link parent)
  • Method Details

    • 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
    • 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
    • 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
    • getPipelines

      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
    • 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
    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()
    • 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
    • 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
    • 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