public class

AbstractPullRequestRequest

extends Object
java.lang.Object
   ↳ com.atlassian.stash.pull.AbstractPullRequestRequest
Known Direct Subclasses

Class Overview

Base class for requests affecting pull requests.

Summary

Nested Classes
class AbstractPullRequestRequest.AbstractBuilder<T extends AbstractBuilder<T>>  
Public Constructors
AbstractPullRequestRequest(int repositoryId, long pullRequestId)
This constructor is deprecated. in 3.10 for removal in 4.0. Use AbstractPullRequestRequest(AbstractBuilder) instead.
Protected Constructors
AbstractPullRequestRequest(AbstractBuilder<?> builder)
Public Methods
long getPullRequestId()
int getRepositoryId()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AbstractPullRequestRequest (int repositoryId, long pullRequestId)

This constructor is deprecated.
in 3.10 for removal in 4.0. Use AbstractPullRequestRequest(AbstractBuilder) instead.

Parameters
repositoryId the ID of the repository containing the pull request
pullRequestId the ID of the pull request the request is for

Protected Constructors

protected AbstractPullRequestRequest (AbstractBuilder<?> builder)

Parameters
builder a builder specifying the repository and pull request ID

Public Methods

public long getPullRequestId ()

Returns
  • the ID of the pull request within the repository

public int getRepositoryId ()

Returns
  • the ID of the repository to which the pull request will be merged