Package hudson.plugins.jira
Class JiraChangeLogAnnotator
java.lang.Object
hudson.scm.ChangeLogAnnotator
hudson.plugins.jira.JiraChangeLogAnnotator
- All Implemented Interfaces:
ExtensionPoint
ChangeLogAnnotator
that picks up Jira issue IDs.- Author:
- Kohsuke Kawaguchi
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
annotate
(Run<?, ?> run, ChangeLogSet.Entry change, MarkupText text) protected boolean
hasProjectForIssue
(String id, JiraSite site, Run run) Checks if the given Jira id will be likely to exist in this issue tracker.Methods inherited from class hudson.scm.ChangeLogAnnotator
all, annotate, register, unregister
-
Constructor Details
-
JiraChangeLogAnnotator
public JiraChangeLogAnnotator()
-
-
Method Details
-
annotate
- Overrides:
annotate
in classChangeLogAnnotator
-
hasProjectForIssue
Checks if the given Jira id will be likely to exist in this issue tracker. This method checks whether the key portion is a valid key (except that it can potentially use stale data). Number portion is not checked at all.- Parameters:
id
- String like MNG-1234
-