Package com.atlassian.jira.security
Enum Class ProjectWidePermission
- All Implemented Interfaces:
Serializable,Comparable<ProjectWidePermission>,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectWidePermissionReturns the enum constant of this class with the specified name.static ProjectWidePermission[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL_ISSUES
-
NO_ISSUES
-
ISSUE_SPECIFIC
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-