Class BlueRunFactory
- java.lang.Object
-
- io.jenkins.blueocean.rest.factory.BlueRunFactory
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class BlueRunFactory extends Object implements ExtensionPoint
Factory that gives instance ofBlueRun
- Author:
- Vivek Pandey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description BlueRunFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static BlueRun
getRun(Run r, Reachable parent)
abstract BlueRun
getRun(Run run, Reachable parent, BlueOrganization organization)
Gives instance ofBlueRun
that this factory knows about
-
-
-
Method Detail
-
getRun
public abstract BlueRun getRun(Run run, Reachable parent, BlueOrganization organization)
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
-
-