public final enum

PullRequestRole

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

Class Overview

Enumerates the possible roles a participant can have in a pull request.

Summary

Enum Values
PullRequestRole  AUTHOR  The participant is an author of the pull request
PullRequestRole  PARTICIPANT  The participant has no explicit role in the pull request
PullRequestRole  REVIEWER  The participant is a reviewer of the pull request
Public Methods
@Nonnull static PullRequestRole fromId(int id)
@Nonnull Predicate<PullRequestParticipant> getFilter()
int getId()
boolean isExplicit()
static PullRequestRole valueOf(String name)
final static PullRequestRole[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PullRequestRole AUTHOR

The participant is an author of the pull request.

public static final PullRequestRole PARTICIPANT

The participant has no explicit role in the pull request.

public static final PullRequestRole REVIEWER

The participant is a reviewer of the pull request.

Public Methods

@Nonnull public static PullRequestRole fromId (int id)

@Nonnull public Predicate<PullRequestParticipant> getFilter ()

public int getId ()

public boolean isExplicit ()

public static PullRequestRole valueOf (String name)

public static final PullRequestRole[] values ()