Class BlueOceanUrlMapper

java.lang.Object
io.jenkins.blueocean.rest.factory.BlueOceanUrlMapper
All Implemented Interfaces:
ExtensionPoint

public abstract class BlueOceanUrlMapper extends Object implements ExtensionPoint
Maps Jenkins ModelObject to BlueOcean front end URL
Author:
Vivek Pandey
  • Constructor Details

    • BlueOceanUrlMapper

      public BlueOceanUrlMapper()
  • Method Details

    • getUrl

      @CheckForNull public abstract String getUrl(@NonNull ModelObject modelObject)
      Gives BlueOcean URL for given Jenkins ModelObject.
      Parameters:
      modelObject - Jenkins ModelObject
      Returns:
      Gives url for this model object, returns null if it can't compute URL for this model object
    • all

      public static ExtensionList<BlueOceanUrlMapper> all()