public class CommentsClient extends BugsClient
| Constructor and Description |
|---|
CommentsClient(String serverUrl,
String login,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addComment(int id,
String text,
CommentVisibility visibility,
double worktime) |
SortedSet<Comment> |
commentsFor(Bug bug) |
Map<String,SortedSet<Comment>> |
commentsFor(Collection<String> bugIds) |
boolean |
postBugzillaComment(Integer bugzillaId,
String comment)
Post a new comment on Bugzilla
|
boolean |
updateBugzillaFlag(Integer[] ids,
String name,
Flag.Status status)
Update Bugzilla bugs flag status.
|
getBug, getBugs, updateBugzillaStatus, updateBugzillaTargetMilestone, updateBugzillaTargetReleasefetch, getParameterMap, runCommandpublic boolean updateBugzillaFlag(Integer[] ids, String name, Flag.Status status)
ids - An array of integers, a single integer representing one or more bug idsname - The name of the flag that supposes to be updatedstatus - The flag's new status(+,-,X,?)public boolean addComment(int id,
String text,
CommentVisibility visibility,
double worktime)
Copyright © 2015 JBoss by Red Hat. All rights reserved.