public final enum

PullRequestAction

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

Class Overview

Enumerates the actions which can be taken on a pull request, defining the activities that may occur. Each action has an associated activity type.

Summary

Enum Values
PullRequestAction  APPROVED  A user has approved a pull request  
PullRequestAction  COMMENTED  A comment has been added, deleted, edited or replied to on the pull request
PullRequestAction  DECLINED  The pull request has been rejected and declined without merging. 
PullRequestAction  MERGED  The pull request has been accepted and merged to the target
PullRequestAction  OPENED  A new pull request has been opened. 
PullRequestAction  REOPENED  A previously declined pull request has been reopened. 
PullRequestAction  RESCOPED  The scope of the pull request has been changed and changesets have been added or removed. 
PullRequestAction  UNAPPROVED  A user has removed a approval from a pull request  
PullRequestAction  UPDATED  The details of the pull request, such as title or description, have been updated. 
Public Methods
static PullRequestAction fromId(int id)
int getId()
static PullRequestAction valueOf(String name)
final static PullRequestAction[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PullRequestAction APPROVED

A user has approved a pull request

public static final PullRequestAction COMMENTED

public static final PullRequestAction DECLINED

The pull request has been rejected and declined without merging.

public static final PullRequestAction MERGED

The pull request has been accepted and merged to the target.

public static final PullRequestAction OPENED

A new pull request has been opened.

public static final PullRequestAction REOPENED

A previously declined pull request has been reopened.

public static final PullRequestAction RESCOPED

The scope of the pull request has been changed and changesets have been added or removed.

public static final PullRequestAction UNAPPROVED

A user has removed a approval from a pull request

public static final PullRequestAction UPDATED

The details of the pull request, such as title or description, have been updated.

Public Methods

public static PullRequestAction fromId (int id)

public int getId ()

public static PullRequestAction valueOf (String name)

public static final PullRequestAction[] values ()