hudson.plugins.hgca
Class HGCALinkAnnotator

java.lang.Object
  extended by hudson.scm.ChangeLogAnnotator
      extended by hudson.plugins.hgca.HGCALinkAnnotator
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class HGCALinkAnnotator
extends hudson.scm.ChangeLogAnnotator

Given a set of pattern/URL pairs, replaces "pattern" in changelog text with "<a href='url'>pattern</a>", replacing $1, $2, etc in "url" with matched groups in "pattern". Does this for each pair.

Author:
Andrew Bayer, Alan Harder

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.scm.ChangeLogAnnotator
annotators
 
Constructor Summary
HGCALinkAnnotator()
           
 
Method Summary
 void annotate(hudson.model.AbstractBuild<?,?> build, hudson.scm.ChangeLogSet.Entry change, hudson.MarkupText text)
           
 
Methods inherited from class hudson.scm.ChangeLogAnnotator
all, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HGCALinkAnnotator

public HGCALinkAnnotator()
Method Detail

annotate

public void annotate(hudson.model.AbstractBuild<?,?> build,
                     hudson.scm.ChangeLogSet.Entry change,
                     hudson.MarkupText text)
Specified by:
annotate in class hudson.scm.ChangeLogAnnotator


Copyright © 2010. All Rights Reserved.