Package io.jenkins.blueocean.rest.hal
Class LinkResolver
java.lang.Object
io.jenkins.blueocean.rest.hal.LinkResolver
- All Implemented Interfaces:
ExtensionPoint
Resolves a
Link
for a given model object- Author:
- Kohsuke Kawaguchi, Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<LinkResolver>
all()
abstract Link
static Link
resolveLink
(Object modeObject)
-
Constructor Details
-
LinkResolver
public LinkResolver()
-
-
Method Details
-
resolve
- Parameters:
modelObject
- a model object to map to corresponding BlueOcean API model object- Returns:
Link
to BlueOcean API model object. null if there is no BlueOcean API model object found that maps to the given model object.
-
all
-
resolveLink
-