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 org.jboss.set.aphrodite.domain.Issue getIssue(String trackerId) throws NotFoundException
NotFoundExceptionpublic List<org.jboss.set.aphrodite.domain.Issue> getIssues(Collection<URL> urls)
public org.jboss.set.aphrodite.domain.Issue getIssueWithComments(URL url) throws NotFoundException
NotFoundExceptionpublic org.jboss.set.aphrodite.domain.Issue getIssueWithComments(String trackerId) throws NotFoundException
NotFoundExceptionpublic List<org.jboss.set.aphrodite.domain.Comment> getCommentsForIssue(org.jboss.set.aphrodite.domain.Issue issue) throws NotFoundException
NotFoundExceptionpublic Map<String,List<org.jboss.set.aphrodite.domain.Comment>> getCommentsForIssues(Map<String,org.jboss.set.aphrodite.domain.Issue> issues)
public List<org.jboss.set.aphrodite.domain.Comment> getCommentsForIssue(String trackerId)
public List<org.jboss.set.aphrodite.domain.Issue> searchIssuesByFilter(URL filterUrl) throws NotFoundException
NotFoundExceptionpublic List<org.jboss.set.aphrodite.domain.Issue> searchIssues(org.jboss.set.aphrodite.domain.SearchCriteria criteria)
public List<org.jboss.set.aphrodite.domain.Issue> searchIssues(org.jboss.set.aphrodite.domain.SearchCriteria criteria, int defaultIssueLimit)
public boolean updateIssue(org.jboss.set.aphrodite.domain.Issue issue) throws AphroditeException
AphroditeExceptionpublic boolean updateTargetRelease(int id,
String... targetRelease)
public boolean updateStatus(int id,
org.jboss.set.aphrodite.domain.IssueStatus status)
public boolean updateTargetMilestone(int id,
String targetMilestone)
public boolean updateEstimate(int id,
double worktime)
public boolean postComment(org.jboss.set.aphrodite.domain.Issue issue, org.jboss.set.aphrodite.domain.Comment comment) throws NotFoundException
NotFoundExceptionpublic boolean postComment(int id,
String comment,
boolean isPrivate)
public boolean postComment(Map<org.jboss.set.aphrodite.domain.Issue,org.jboss.set.aphrodite.domain.Comment> commentMap)
public boolean postComment(Collection<org.jboss.set.aphrodite.domain.Issue> issues, org.jboss.set.aphrodite.domain.Comment comment)
public boolean updateFlags(int ids,
String name,
org.jboss.set.aphrodite.domain.FlagStatus status)
Copyright © 2020 JBoss by Red Hat. All rights reserved.