public final enum

PullRequestMergeOutcome

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

Class Overview

Enumerates the possible outcomes for attempting to merge a pull request.

Summary

Enum Values
PullRequestMergeOutcome  CLEAN  Indicates the two branches on the pull request merged without conflicts. 
PullRequestMergeOutcome  CONFLICTED  Indicates the two branches on the pull request were merged but conflicts were encountered. 
PullRequestMergeOutcome  UNKNOWN  Indicates the system is unable to determine the mergeability of the pull request
Public Methods
boolean isMergeable()
static PullRequestMergeOutcome valueOf(String name)
final static PullRequestMergeOutcome[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PullRequestMergeOutcome CLEAN

Indicates the two branches on the pull request merged without conflicts.

public static final PullRequestMergeOutcome CONFLICTED

Indicates the two branches on the pull request were merged but conflicts were encountered.

public static final PullRequestMergeOutcome UNKNOWN

Indicates the system is unable to determine the mergeability of the pull request.

Public Methods

public boolean isMergeable ()

public static PullRequestMergeOutcome valueOf (String name)

public static final PullRequestMergeOutcome[] values ()