public class BugzillaClient extends Object
| Constructor and Description |
|---|
BugzillaClient(URL baseURL,
String login,
String password,
ExecutorService executorService) |
public BugzillaClient(URL baseURL, String login, String password, ExecutorService executorService) throws IllegalStateException
IllegalStateExceptionpublic Issue getIssue(String trackerId) throws NotFoundException
NotFoundExceptionpublic List<Issue> getIssues(Collection<URL> urls)
public Issue getIssueWithComments(URL url) throws NotFoundException
NotFoundExceptionpublic Issue getIssueWithComments(String trackerId) throws NotFoundException
NotFoundExceptionpublic List<Comment> getCommentsForIssue(Issue issue) throws NotFoundException
NotFoundExceptionpublic Map<String,List<Comment>> getCommentsForIssues(Map<String,Issue> issues)
public List<Issue> searchIssuesByFilter(URL filterUrl) throws NotFoundException
NotFoundExceptionpublic List<Issue> searchIssues(SearchCriteria criteria)
public List<Issue> searchIssues(SearchCriteria criteria, int defaultIssueLimit)
public boolean updateIssue(Issue issue) throws AphroditeException
AphroditeExceptionpublic boolean updateTargetRelease(int id,
String... targetRelease)
public boolean updateStatus(int id,
IssueStatus status)
public boolean updateTargetMilestone(int id,
String targetMilestone)
public boolean updateEstimate(int id,
double worktime)
public boolean postComment(Issue issue, Comment comment) throws NotFoundException
NotFoundExceptionpublic boolean postComment(int id,
String comment,
boolean isPrivate)
public boolean postComment(Collection<Issue> issues, Comment comment)
public boolean updateFlags(int ids,
String name,
FlagStatus status)
Copyright © 2016 JBoss by Red Hat. All rights reserved.