Package com.coravy.hudson.plugins.github
Class GithubLinkAnnotator
java.lang.Object
hudson.scm.ChangeLogAnnotator
com.coravy.hudson.plugins.github.GithubLinkAnnotator
- All Implemented Interfaces:
ExtensionPoint
This class annotates changelog links.
It's based on the TracLinkAnnotator.
TODO Change the annotator to use GithubUrl instead of the String url. Knowledge about the github url structure should be encapsulated in GithubUrl.
- Author:
- Stefan Saasen
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.scm.ChangeLogAnnotator
annotators
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
annotate
(Run<?, ?> build, ChangeLogSet.Entry change, MarkupText text) static String
static boolean
Methods inherited from class hudson.scm.ChangeLogAnnotator
all, annotate, register, unregister
-
Constructor Details
-
GithubLinkAnnotator
public GithubLinkAnnotator()
-
-
Method Details
-
annotate
- Overrides:
annotate
in classChangeLogAnnotator
-
getAllowedUriSchemes
-
verifyUrl
-