Class BlueRunFactory
java.lang.Object
io.jenkins.blueocean.rest.factory.BlueRunFactory
- All Implemented Interfaces:
ExtensionPoint
Factory that gives instance of
BlueRun
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BlueRunFactory
public BlueRunFactory()
-
-
Method Details
-
getRun
Gives instance ofBlueRun
that this factory knows about- Parameters:
run
- Jenkins run model objectparent
-Reachable
parent. This is to be used to create this BlueRun instance's Link.organization
- that the parent is a child of- Returns:
- null if it doesn't knows about this instance of run object, otherwise instance of BlueRun
-
getRun
- Parameters:
r
- runparent
- of run- Returns:
- run or null
-