| Package | Description |
|---|---|
| org.jenkinsci.plugins.displayurlapi |
| Modifier and Type | Method and Description |
|---|---|
DisplayURLContext |
DisplayURLContext.attribute(String name,
String value)
Adds custom attributes to the context.
|
DisplayURLContext |
DisplayURLContext.executable(Queue.Executable executable)
Uses the supplied
Queue.Executable to fill in as much of the context as possible. |
DisplayURLContext |
DisplayURLContext.job(Job<?,?> job)
Uses the supplied
Job to fill in as much of the context as possible. |
static DisplayURLContext |
DisplayURLContext.open()
Opens a
DisplayURLContext for the current thread. |
DisplayURLContext |
DisplayURLContext.plugin(PluginWrapper plugin)
Overrides the inferred plugin tha is requesting the URL to be generated with the supplied plugin.
|
DisplayURLContext |
DisplayURLContext.run(Run<?,?> run)
Uses the supplied
Run to fill in as much of the context as possible. |
DisplayURLContext |
DisplayURLContext.task(Queue.Task task)
Uses the supplied
Queue.Task to fill in as much of the context as possible. |
| Modifier and Type | Method and Description |
|---|---|
static String |
DisplayURLDecorator.decorate(DisplayURLContext context,
String url)
Decorates the URL for the provided context.
|
protected abstract Map<String,String> |
DisplayURLDecorator.parameters(DisplayURLContext context)
Returns a map of query parameters to decorate the URL with.
|
Copyright © 2016–2019. All rights reserved.