hudson.console
Class UrlAnnotator

java.lang.Object
  extended by hudson.console.ConsoleAnnotatorFactory<Object>
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
UrlAnnotator()
           
 
Method Summary
 ConsoleAnnotator newInstance(Object context)
          Called when a console output page is requested to create a stateful ConsoleAnnotator.
 
Methods inherited from class hudson.console.ConsoleAnnotatorFactory
all, doScriptJs, doStyleCss, hasScript, hasStylesheet, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlAnnotator

public UrlAnnotator()
Method Detail

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.