Interface PermissionCheck
public interface PermissionCheck
The permission to check and optionally the resource on which to check it.
 Note: The resource could be an ID referencing the resource, or the resource itself.
- Since:
- 5.5
- 
Method SummaryModifier and TypeMethodDescriptioncom.atlassian.bitbucket.permission.PermissionThe resource that the permission check applies to.
- 
Method Details- 
getPermission@Nonnull com.atlassian.bitbucket.permission.Permission getPermission()- Returns:
- The permission to check
 
- 
getResourceThe resource that the permission check applies to. This could be empty if the requested permission is global if the check is for permission on any resource.- Returns:
- an optional resource representing the resource that the permission check is applied to
 
- 
getResult- Returns:
- the (intermediate) result based on the votersthat have been consulted so far
 
 
-