Package hudson.plugins.jira.selector
Class JqlIssueSelector
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<AbstractIssueSelector>
-
- hudson.plugins.jira.selector.AbstractIssueSelector
-
- hudson.plugins.jira.selector.JqlIssueSelector
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<AbstractIssueSelector>
public class JqlIssueSelector extends AbstractIssueSelector
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JqlIssueSelector.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description JqlIssueSelector(String jql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
findIssueIds(Run<?,?> run, JiraSite site, TaskListener listener)
Finds the strings that match Jira issue ID patterns.String
getJql()
void
setJql(String jql)
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
JqlIssueSelector
@DataBoundConstructor public JqlIssueSelector(String jql)
-
-
Method Detail
-
setJql
public void setJql(String jql)
-
getJql
public String getJql()
-
findIssueIds
public Set<String> findIssueIds(Run<?,?> run, JiraSite site, TaskListener listener)
Description copied from class:AbstractIssueSelector
Finds the strings that match Jira issue ID patterns. This method returns all likely candidates and shouldn't check if such ID actually exists or not.- Specified by:
findIssueIds
in classAbstractIssueSelector
- Parameters:
run
- The completed run.site
- Jira site configured for current job.listener
- Current's run listener.- Returns:
- Set of ids of issues which should be updated.
-
-