public abstract class DisplayURLProvider extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
DisplayURLProvider() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<DisplayURLProvider> |
all()
Returns all the
DisplayURLProvider implementations. |
static DisplayURLProvider |
get()
Returns the
DisplayURLProvider to use for generating links to be given to users. |
abstract String |
getChangesURL(Run<?,?> run)
Fully qualified URL for a page that displays changes for a project.
|
static DisplayURLProvider |
getDefault() |
String |
getDisplayName()
Display name of this provider e.g.
|
abstract String |
getJobURL(Job<?,?> job)
Fully qualified URL for a Jobs home
|
String |
getName()
Name of provider to be used as an id.
|
static DisplayURLProvider |
getPreferredProvider() |
String |
getRoot()
Fully qualified URL for the Root display URL
|
abstract String |
getRunURL(Run<?,?> run)
Fully qualified URL for a Run
|
public static DisplayURLProvider get()
DisplayURLProvider to use for generating links to be given to users.public static Iterable<DisplayURLProvider> all()
DisplayURLProvider implementations.DisplayURLProvider implementations.public static DisplayURLProvider getDefault()
public String getRoot()
public String getDisplayName()
public String getName()
public abstract String getChangesURL(Run<?,?> run)
@Nullable public static DisplayURLProvider getPreferredProvider()
Copyright © 2016–2019. All rights reserved.