@Deprecated public interface

EffectivePermission

com.atlassian.bitbucket.permission.EffectivePermission
Known Indirect Subclasses

This interface is deprecated.
in 5.5 for removal in 6.0 without replacement

Class Overview

An effective permission is a permission that is either:

  • directly granted (as a permission associated with the user or as a permission associated with a group the user is a member of),
  • or indirectly granted through a inherited permission (such as a sysadmin inheriting a admin permission).

Summary

Public Methods
<T> T accept(EffectivePermissionVisitor<T> visitor)
Accepts the provided visitor and invokes the appropriate visit overloaded method.
@Nonnull Permission getPermission()

Public Methods

public T accept (EffectivePermissionVisitor<T> visitor)

Accepts the provided visitor and invokes the appropriate visit overloaded method.

Parameters
visitor the visitor
Returns
  • the result of the invoked visit method

@Nonnull public Permission getPermission ()

Returns