Class BlueOceanUrlMapper
java.lang.Object
io.jenkins.blueocean.rest.factory.BlueOceanUrlMapper
- All Implemented Interfaces:
ExtensionPoint
Maps Jenkins
ModelObject
to BlueOcean front end URL- Author:
- Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<BlueOceanUrlMapper>
all()
abstract String
getUrl
(ModelObject modelObject) Gives BlueOcean URL for given JenkinsModelObject
.
-
Constructor Details
-
BlueOceanUrlMapper
public BlueOceanUrlMapper()
-
-
Method Details
-
getUrl
Gives BlueOcean URL for given JenkinsModelObject
.- Parameters:
modelObject
- Jenkins ModelObject- Returns:
- Gives url for this model object, returns null if it can't compute URL for this model object
-
all
-