public final enum

PullRequestDirection

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.pull.PullRequestDirection

Class Overview

Specified the direction of a pull request relative to a subject repository and branch.

Summary

Enum Values
PullRequestDirection  INCOMING  INCOMING indicates the pull request is going to the repository and branch in question. 
PullRequestDirection  OUTGOING  OUTGOING indicates the pull request is coming from the repository and branch in question. 
Public Methods
PullRequestDirection opposite()
static PullRequestDirection valueOf(String name)
final static PullRequestDirection[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PullRequestDirection INCOMING

INCOMING indicates the pull request is going to the repository and branch in question.

public static final PullRequestDirection OUTGOING

OUTGOING indicates the pull request is coming from the repository and branch in question.

Public Methods

public PullRequestDirection opposite ()

Returns
  • the opposite direction to the current direction

public static PullRequestDirection valueOf (String name)

public static final PullRequestDirection[] values ()