public interface

PullRequestPropertyContext

implements Iterable<T>
com.atlassian.bitbucket.pull.PullRequestPropertyContext

Class Overview

Allows iterating and adding PropertyMap properties to pull requests. This context is guaranteed to not contain duplicate pull requests.

Summary

Public Methods
void setProperty(PullRequest pullRequest, String key, Object value)
Adds a property to the pullRequest.
[Expand]
Inherited Methods
From interface java.lang.Iterable

Public Methods

public void setProperty (PullRequest pullRequest, String key, Object value)

Adds a property to the pullRequest. Any existing property stored under key will be replaced.

Parameters
pullRequest the pull request that will receive the new property
key property key
value property value