Enum Class ProjectWidePermission

java.lang.Object
java.lang.Enum<ProjectWidePermission>
com.atlassian.jira.security.ProjectWidePermission
All Implemented Interfaces:
Serializable, Comparable<ProjectWidePermission>, Constable

public enum ProjectWidePermission extends Enum<ProjectWidePermission>
Represents a tri-state logical value for a project permission.

This enum allows us to find out project-wide permission information about an issue-level permission.

  • ALL_ISSUES : the user always has this permission for the given project
  • NO_ISSUES : the user definitely does not have the given permission for any issues in this project
  • ISSUE_SPECIFIC : the user may have this permission on some issues, but not others

Since:
v6.4.8
  • Enum Constant Details

  • Method Details

    • values

      public static ProjectWidePermission[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProjectWidePermission valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null