public final enum

PullRequestState

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

Class Overview

Enumerates the possible states a pull request can be in.

See Also

Summary

Enum Values
PullRequestState  DECLINED  The pull request has been declined. 
PullRequestState  MERGED  The pull request has been accepted and merged. 
PullRequestState  OPEN  The pull request is open. 
Public Methods
static PullRequestState fromId(int id)
int getId()
static PullRequestState valueOf(String name)
final static PullRequestState[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PullRequestState DECLINED

The pull request has been declined.

public static final PullRequestState MERGED

The pull request has been accepted and merged.

public static final PullRequestState OPEN

The pull request is open.

Public Methods

public static PullRequestState fromId (int id)

public int getId ()

public static PullRequestState valueOf (String name)

public static final PullRequestState[] values ()