[转]com.atlassian.greenhopper.service.issue.flagging
作者:互联网
com.atlassian.greenhopper.service.issue.flagging
Interface FlagService
- All Known Implementing Classes:
- FlagServiceImpl
public interface FlagService
-
-
Method Summary
All MethodsInstance MethodsAbstract Methods Modifier and Type Method and Description ServiceOutcome<ErrorCollection>
flag(com.atlassian.jira.user.ApplicationUser user, Collection<com.atlassian.jira.issue.Issue> issues, boolean flag)
Flags / unflags issues according to the given parameter.Boolean
isFlagged(com.atlassian.jira.issue.Issue issue)
Get the flagged value for the gifen issue.
-
-
-
Method Detail
-
flag
ServiceOutcome<ErrorCollection> flag(com.atlassian.jira.user.ApplicationUser user, Collection<com.atlassian.jira.issue.Issue> issues, boolean flag)
Flags / unflags issues according to the given parameter.- Parameters:
user
- the actorissues
- the collection of issuesflag
-true
to flag,false
to unflag- Returns:
- a valid outcome with an empty
ErrorCollection
if all the issues were succesfully updated, a valid outcome with a non emptyErrorCollection
if some of the issues were not updated, an invalid outcome if all the issues were rejected
-
isFlagged
Boolean isFlagged(com.atlassian.jira.issue.Issue issue)
Get the flagged value for the gifen issue.- Parameters:
issue
- the target issue
-
-
标签:jira,service,com,atlassian,flag,issue,issues 来源: https://www.cnblogs.com/freeliver54/p/15877083.html