public final enum

CommentThreadDiffAnchorType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.comment.CommentThreadDiffAnchorType

Class Overview

Enumerates the different types of diffs a thread can be anchored to.

Summary

Enum Values
CommentThreadDiffAnchorType  COMMIT  A commit diff shows changes introduced by a single commit. 
CommentThreadDiffAnchorType  EFFECTIVE  An effective diff shows all the changes that would be introduced to a pull request target branch. 
CommentThreadDiffAnchorType  RANGE  A range diff displays the changes introduced by a number of commits. 
Public Methods
@Nonnull static CommentThreadDiffAnchorType fromId(int id)
int getId()
static CommentThreadDiffAnchorType valueOf(String name)
final static CommentThreadDiffAnchorType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final CommentThreadDiffAnchorType COMMIT

A commit diff shows changes introduced by a single commit.

public static final CommentThreadDiffAnchorType EFFECTIVE

An effective diff shows all the changes that would be introduced to a pull request target branch.

public static final CommentThreadDiffAnchorType RANGE

A range diff displays the changes introduced by a number of commits.

Public Methods

@Nonnull public static CommentThreadDiffAnchorType fromId (int id)

public int getId ()

public static CommentThreadDiffAnchorType valueOf (String name)

public static final CommentThreadDiffAnchorType[] values ()