public class

CanApprovePullRequestCondition

extends Object
implements Condition
java.lang.Object
   ↳ com.atlassian.bitbucket.web.conditions.CanApprovePullRequestCondition

Class Overview

Verifies that the current user is allowed to approve the current pull request

Summary

Public Constructors
CanApprovePullRequestCondition(AuthenticationContext authenticationContext)
Public Methods
void init(Map<String, String> params)
boolean shouldDisplay(Map<String, Object> context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public CanApprovePullRequestCondition (AuthenticationContext authenticationContext)

Public Methods

public void init (Map<String, String> params)

Throws
PluginParseException

public boolean shouldDisplay (Map<String, Object> context)