public enum PullRequestDirection extends Enum<PullRequestDirection>
Enum Constant and Description |
---|
INCOMING
INCOMING indicates the pull request is going to the repository and branch in question.
|
OUTGOING
OUTGOING indicates the pull request is coming from the repository and branch in question.
|
Modifier and Type | Method and Description |
---|---|
PullRequestDirection |
opposite() |
static PullRequestDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PullRequestDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullRequestDirection OUTGOING
public static final PullRequestDirection INCOMING
public static PullRequestDirection[] values()
for (PullRequestDirection c : PullRequestDirection.values()) System.out.println(c);
public static PullRequestDirection 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 nullpublic PullRequestDirection opposite()
Copyright © 2022 Atlassian. All rights reserved.