Package io.jenkins.blueocean.rest.model
Interface BlueRunnableItem
-
- All Known Implementing Classes:
BlueMultiBranchPipeline
,BlueOrganizationFolder
,BluePipeline
,BluePipelineFolder
public interface BlueRunnableItem
Common interface to be implemented by pipeline items that are runnable and hence have expected run-times, a run history, etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Long
getEstimatedDurationInMillis()
BlueRun
getLatestRun()
List<Object>
getParameters()
List of build parametersBlueQueueContainer
getQueue()
BlueRunContainer
getRuns()
BlueTrendContainer
getTrends()
Integer
getWeatherScore()
-
-
-
Method Detail
-
getWeatherScore
@Exported(name="weatherScore") Integer getWeatherScore()
- Returns:
- weather health score percentile
-
getLatestRun
@Exported(name="latestRun", inline=true) BlueRun getLatestRun()
- Returns:
- The Latest Run for the branch
-
getEstimatedDurationInMillis
@Exported(name="estimatedDurationInMillis") Long getEstimatedDurationInMillis()
- Returns:
- Estimated duration based on last pipeline runs. -1 is returned if there is no estimate available.
-
getRuns
@Navigable BlueRunContainer getRuns()
- Returns:
- Gives Runs in this pipeline
-
getQueue
@Navigable BlueQueueContainer getQueue()
- Returns:
- Gives
BlueQueueContainer
-
getParameters
@Exported(name="parameters", inline=true) List<Object> getParameters()
List of build parameters
-
getTrends
@Navigable BlueTrendContainer getTrends()
- Returns:
- trend data related to this pipeline
-
-