public class JiraHelper extends AbstractCommonIssueHelper implements IssueHelper
fromUtil| Constructor and Description |
|---|
JiraHelper(String configurationFileProperty,
String configurationFileDefault) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(URL url)
A method to test if underlying implementatio accepts a given issue.n.
|
Issue |
findIssue(URL url)
Finds a given
Issue based on a URL parameter. |
boolean |
updateStatus(URL url,
Enum status)
Update the status ofan
Issuee. |
public Issue findIssue(URL url) throws IllegalArgumentException
IssueHelperIssue based on a URL parameter. Any client should make sure that
IssueHelper.accepts(java.net.URL) is called first.findIssue in interface IssueHelperurl - - the issue URLIssue or null if no Issue is foundIllegalArgumentException - - if the String is incorrect. This will be if the remote server
rejects the request.public boolean accepts(URL url)
IssueHelperaccepts in interface IssueHelperurl - - the issue URLpublic boolean updateStatus(URL url, Enum status)
IssueHelperIssuee. Before calling this method, IssueHelper.accepts(java.net.URL) should be calledupdateStatus in interface IssueHelperurl - - the issue URLstatus - - the status to update toCopyright © 2015 JBoss by Red Hat. All rights reserved.