[转]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.BooleanisFlagged(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-trueto flag,falseto unflag- Returns:
- a valid outcome with an empty
ErrorCollectionif all the issues were succesfully updated, a valid outcome with a non emptyErrorCollectionif 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
-
-
posted on 2022-02-09 22:24 freeliver54 阅读(35) 评论(3) 收藏 举报
浙公网安备 33010602011771号