hudson.console
Class UrlAnnotator
java.lang.Object
hudson.console.ConsoleAnnotatorFactory<Object>
hudson.console.UrlAnnotator
- All Implemented Interfaces:
- ExtensionPoint
@Extension
public class UrlAnnotator
- extends ConsoleAnnotatorFactory<Object>
Annotates URLs in the console output to hyperlink.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlAnnotator
public UrlAnnotator()
newInstance
public ConsoleAnnotator newInstance(Object context)
- Description copied from class:
ConsoleAnnotatorFactory
- Called when a console output page is requested to create a stateful
ConsoleAnnotator
.
This method can be invoked concurrently by multiple threads.
- Specified by:
newInstance
in class ConsoleAnnotatorFactory<Object>
- Parameters:
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.
- Returns:
- null if this factory is not going to participate in the annotation of this console.
Copyright © 2004-2013. All Rights Reserved.