[转]com.atlassian.greenhopper.service.issue.flagging

本文转自:https://docs.atlassian.com/jira-software/6.7.6/com/atlassian/greenhopper/service/issue/flagging/FlagService.html

com.atlassian.greenhopper.service.issue.flagging

Interface FlagService

  • All Known Implementing Classes:
    FlagServiceImpl


    public interface FlagService
    • 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 actor
        issues - the collection of issues
        flag - 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 empty ErrorCollection 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

posted on 2022-02-09 22:24  freeliver54  阅读(25)  评论(3编辑  收藏  举报

导航