public final enum


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

Class Overview

Enumerates the possible states a pull request can be in.


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()
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 ()