public class

PullRequestInState

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

Class Overview

A condition which checks that the pull request is in a given state

 <condition class="com.atlassian.bitbucket.web.conditions.PullRequestInState">
     <param name="state">OPEN</param>
 </condition>
 
Valid states:
  • OPEN
  • DECLINED
  • MERGED

Summary

Public Constructors
PullRequestInState()
Public Methods
void init(Map<StringString> params)
boolean shouldDisplay(Map<StringObject> context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public PullRequestInState ()

Public Methods

public void init (Map<StringString> params)

Throws
PluginParseException

public boolean shouldDisplay (Map<StringObject> context)