Package com.atlassian.jira.permission
Interface PermissionHolderType
- All Known Implementing Classes:
CustomPermissionHolderType,JiraPermissionHolderType
@PublicApi
public interface PermissionHolderType
Type of a permission holder.
Types are stored in the DB and identifies by keys. Each type can specify whether it expects an additional parameter.
Standard JIRA permission holder types are defined in the JiraPermissionHolderType enum.
Implementations of this interface are required to be immutable.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns a key that will be stored in the database and identify this holder type.booleanTrue if this type requires an additional parameter, false otherwise.
-
Method Details
-
getKey
String getKey()Returns a key that will be stored in the database and identify this holder type. -
requiresParameter
boolean requiresParameter()True if this type requires an additional parameter, false otherwise.
-