Package hudson.console
Class UrlAnnotator
- All Implemented Interfaces:
ExtensionPoint
Annotates URLs in the console output to hyperlink.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(Object context) Called when a console output page is requested to create a statefulConsoleAnnotator
.Methods inherited from class hudson.console.ConsoleAnnotatorFactory
all, doScriptJs, doStyleCss, hasScript, hasStylesheet, type
-
Constructor Details
-
UrlAnnotator
public UrlAnnotator()
-
-
Method Details
-
newInstance
Description copied from class:ConsoleAnnotatorFactory
Called when a console output page is requested to create a statefulConsoleAnnotator
.This method can be invoked concurrently by multiple threads.
- Specified by:
newInstance
in classConsoleAnnotatorFactory<Object>
- Parameters:
context
- The model object that owns the console output, such asRun
. This method is only called when the context object if assignable to the advertised type.- Returns:
- null if this factory is not going to participate in the annotation of this console.
-