| java.lang.Object |
| ↳ |
com.atlassian.bitbucket.web.conditions.CanMergePullRequestCondition |
Class Overview
Verifies that the current user is allowed to merge the pull request. This condition does not perform any merge-ability
checks provided by plugins, and only verifies that the user has write access to the target repository.
Summary
| Public Methods |
|
void
|
init(Map<String, String> params)
|
|
boolean
|
shouldDisplay(Map<String, Object> context)
|
| Protected Methods |
|
boolean
|
hasPermission(Map<String, Object> context)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
com.atlassian.plugin.web.Condition
|
void
|
init(Map<String, String> arg0)
|
|
boolean
|
shouldDisplay(Map<String, Object> arg0)
|
|
Constants
public
static
final
String
REPOSITORY
Constant Value:
"repository"
Fields
Public Constructors
Public Methods
public
void
init
(Map<String, String> params)
public
boolean
shouldDisplay
(Map<String, Object> context)
Protected Methods
protected
boolean
hasPermission
(Map<String, Object> context)