Class LinkResolver

java.lang.Object
io.jenkins.blueocean.rest.hal.LinkResolver
All Implemented Interfaces:
ExtensionPoint

public abstract class LinkResolver extends Object implements ExtensionPoint
Resolves a Link for a given model object
Author:
Kohsuke Kawaguchi, Vivek Pandey
  • Constructor Details

    • LinkResolver

      public LinkResolver()
  • Method Details

    • resolve

      public abstract Link resolve(Object modelObject)
      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

      public static ExtensionList<LinkResolver> all()
    • resolveLink

      public static Link resolveLink(Object modeObject)