@Extension public class UrlAnnotator extends ConsoleAnnotatorFactory<Object>
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
UrlAnnotator() |
Modifier and Type | Method and Description |
---|---|
ConsoleAnnotator |
newInstance(Object context)
Called when a console output page is requested to create a stateful
ConsoleAnnotator . |
all, doScriptJs, doStyleCss, hasScript, hasStylesheet, type
public ConsoleAnnotator newInstance(Object context)
ConsoleAnnotatorFactory
ConsoleAnnotator
.
This method can be invoked concurrently by multiple threads.
newInstance
in class ConsoleAnnotatorFactory<Object>
context
- The model object that owns the console output, such as Run
.
This method is only called when the context object if assignable to
the advertised type.Copyright © 2018. All rights reserved.