Package com.atlassian.jira.permission
Interface ProjectPermission
- All Known Implementing Classes:
MockProjectPermission
@PublicApi
public interface ProjectPermission
Represents a project permission.
- Since:
- v6.3
-
Method Summary
-
Method Details
-
getKey
String getKey()- Returns:
- unique key of this project permission.
- Since:
- v6.3
-
getProjectPermissionKey
ProjectPermissionKey getProjectPermissionKey()- Returns:
- ProjectPermissionKey object of this project permission.
- Since:
- v6.4
-
getNameI18nKey
String getNameI18nKey()- Returns:
- i18n key of this permission's name. Cannot be null.
- Since:
- v6.3
-
getDescriptionI18nKey
String getDescriptionI18nKey()- Returns:
- i18n key of this permission's description. Can be null.
- Since:
- v6.3
-
getCategory
ProjectPermissionCategory getCategory()- Returns:
- category of this permission. Cannot be null.
- Since:
- v6.3
-
getCondition
com.atlassian.plugin.web.Condition getCondition()- Returns:
- condition to determine the availability of this permission. Cannot be null.
- Since:
- v6.4
-
isAvailableForArchivedEntities
default boolean isAvailableForArchivedEntities()- Returns:
- whether this permission is available for archived entities(project/issue)
-