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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final io.jenkins.blueocean.rest.model.BlueOrganization
protected final io.jenkins.blueocean.rest.hal.Link
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
ConstructorDescriptionPipelineFolderImpl
(io.jenkins.blueocean.rest.model.BlueOrganization organization, ItemGroup<?> 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>
io.jenkins.blueocean.rest.model.BlueIcon
getIcon()
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.BluePipelineScm
getScm()
io.jenkins.blueocean.rest.model.BlueTrendContainer
Methods inherited from class io.jenkins.blueocean.rest.model.BluePipelineFolder
getDynamic, getEstimatedDurationInMillis, getLatestRun, getQueue, getRuns, getWeatherScore
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
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
- 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
-
getActions
- Specified by:
getActions
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getActions
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getParameters
- Specified by:
getParameters
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Specified by:
getParameters
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getPipelines
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
-
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
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
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
-
getPipelineFolderNames
- Specified by:
getPipelineFolderNames
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getPipelineFolderNames
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
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
-