public enum CommentThreadDiffAnchorType extends Enum<CommentThreadDiffAnchorType>
thread
can be anchored to.Enum Constant and Description |
---|
COMMIT
A commit diff shows changes introduced by a single commit.
|
EFFECTIVE
An effective diff shows all the changes that would be introduced to a
pull request
target branch. |
RANGE
A range diff displays the changes introduced by a number of commits.
|
Modifier and Type | Method and Description |
---|---|
static CommentThreadDiffAnchorType |
fromId(int id) |
int |
getId() |
static CommentThreadDiffAnchorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommentThreadDiffAnchorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommentThreadDiffAnchorType COMMIT
public static final CommentThreadDiffAnchorType EFFECTIVE
pull request
target branch.public static final CommentThreadDiffAnchorType RANGE
public static CommentThreadDiffAnchorType[] values()
for (CommentThreadDiffAnchorType c : CommentThreadDiffAnchorType.values()) System.out.println(c);
public static CommentThreadDiffAnchorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public static CommentThreadDiffAnchorType fromId(int id)
public int getId()
Copyright © 2022 Atlassian. All rights reserved.