Class OrganizationFolderPipelineImpl
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BluePipeline
io.jenkins.blueocean.rest.model.BluePipelineFolder
io.jenkins.blueocean.rest.model.BlueOrganizationFolder
io.jenkins.blueocean.rest.impl.pipeline.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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
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
ConstructorDescriptionOrganizationFolderPipelineImpl
(io.jenkins.blueocean.rest.model.BlueOrganization organization, jenkins.branch.OrganizationFolder folder, io.jenkins.blueocean.rest.hal.Link parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
void
enable()
io.jenkins.blueocean.rest.model.BlueFavorite
favorite
(io.jenkins.blueocean.rest.model.BlueFavoriteAction favoriteAction) Collection<io.jenkins.blueocean.rest.model.BlueActionProxy>
protected jenkins.branch.OrganizationFolder
io.jenkins.blueocean.rest.model.BlueIcon
getIcon()
io.jenkins.blueocean.rest.model.BlueRun
io.jenkins.blueocean.rest.hal.Link
getLink()
getName()
io.jenkins.blueocean.rest.model.BlueOrganization
io.jenkins.blueocean.rest.model.BluePipelineContainer
io.jenkins.blueocean.rest.model.BlueQueueContainer
getQueue()
io.jenkins.blueocean.rest.model.BlueRunContainer
getRuns()
io.jenkins.blueocean.rest.model.BluePipelineScm
getScm()
io.jenkins.blueocean.rest.model.BlueScmSource
io.jenkins.blueocean.rest.model.BlueTrendContainer
boolean
Certain SCM provider organization folder implementation might support filtered repo search, if thats the case this method must be overridden by their implementations.Methods inherited from class io.jenkins.blueocean.rest.model.BluePipelineFolder
getDynamic, getEstimatedDurationInMillis, getWeatherScore
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Constructor Details
-
OrganizationFolderPipelineImpl
public OrganizationFolderPipelineImpl(io.jenkins.blueocean.rest.model.BlueOrganization organization, jenkins.branch.OrganizationFolder folder, io.jenkins.blueocean.rest.hal.Link parent)
-
-
Method Details
-
getIcon
public io.jenkins.blueocean.rest.model.BlueIcon getIcon()- Specified by:
getIcon
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getIcon
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getPipelines
@Navigable public io.jenkins.blueocean.rest.model.BluePipelineContainer getPipelines()- Specified by:
getPipelines
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getPipelines
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getNumberOfFolders
- Specified by:
getNumberOfFolders
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getNumberOfFolders
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getNumberOfPipelines
- Specified by:
getNumberOfPipelines
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getNumberOfPipelines
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getRuns
@Navigable public io.jenkins.blueocean.rest.model.BlueRunContainer getRuns()- Specified by:
getRuns
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getRuns
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getActions
- Specified by:
getActions
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getActions
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getOrganizationName
- Specified by:
getOrganizationName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getOrganizationName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getOrganization
@NonNull public io.jenkins.blueocean.rest.model.BlueOrganization getOrganization()- Specified by:
getOrganization
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getOrganization
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getName
- Specified by:
getName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getDisplayName
- Specified by:
getDisplayName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getDisplayName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getFullName
- Specified by:
getFullName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getFullName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getFullDisplayName
- Specified by:
getFullDisplayName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getFullDisplayName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getLatestRun
@Exported(inline=true) public io.jenkins.blueocean.rest.model.BlueRun getLatestRun()- Specified by:
getLatestRun
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getLatestRun
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getPipelineFolderNames
- Specified by:
getPipelineFolderNames
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getPipelineFolderNames
in classio.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 classio.jenkins.blueocean.rest.model.BlueOrganizationFolder
-
getScmSource
public io.jenkins.blueocean.rest.model.BlueScmSource getScmSource()- Specified by:
getScmSource
in classio.jenkins.blueocean.rest.model.BlueOrganizationFolder
-
getQueue
public io.jenkins.blueocean.rest.model.BlueQueueContainer getQueue()- Specified by:
getQueue
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getQueue
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getParameters
- Specified by:
getParameters
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Specified by:
getParameters
in classio.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 classio.jenkins.blueocean.rest.model.BluePipeline
-
getPermissions
- Specified by:
getPermissions
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getScm
public io.jenkins.blueocean.rest.model.BluePipelineScm getScm()- Specified by:
getScm
in interfaceio.jenkins.blueocean.rest.model.BlueManagedSource
- Specified by:
getScm
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getFolder
protected jenkins.branch.OrganizationFolder getFolder() -
getTrends
public io.jenkins.blueocean.rest.model.BlueTrendContainer getTrends()- Specified by:
getTrends
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Specified by:
getTrends
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getDisabled
- Specified by:
getDisabled
in classio.jenkins.blueocean.rest.model.BluePipeline
-
enable
- Specified by:
enable
in classio.jenkins.blueocean.rest.model.BluePipeline
- Throws:
IOException
-
disable
- Specified by:
disable
in classio.jenkins.blueocean.rest.model.BluePipeline
- Throws:
IOException
-