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

2022/2/9 23:19:38

本文主要是介绍[转]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 Summary

      All MethodsInstance MethodsAbstract Methods
      Modifier and TypeMethod 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 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


这篇关于[转]com.atlassian.greenhopper.service.issue.flagging的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程