public class StashPullRequestStatus extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.PullRequestStatus,StashPullRequestStatus> |
FROM_PR_STATUS |
Constructor and Description |
---|
StashPullRequestStatus(long id,
long version,
String title,
String url,
String mergeOutcome,
StashPullRequestParticipant author,
List<StashPullRequestParticipant> reviewers,
StashPullRequestRef fromRef,
StashPullRequestRef toRef,
long lastUpdated,
Long commentCount,
Long outstandingTaskCount,
Long resolvedTaskCount) |
Modifier and Type | Method and Description |
---|---|
StashPullRequestParticipant |
getAuthor() |
Long |
getCommentCount() |
StashPullRequestRef |
getFromRef() |
long |
getId() |
long |
getLastUpdated() |
String |
getMergeOutcome() |
Long |
getOutstandingTaskCount() |
Long |
getResolvedTaskCount() |
List<StashPullRequestParticipant> |
getReviewers() |
String |
getTitle() |
StashPullRequestRef |
getToRef() |
String |
getUrl() |
long |
getVersion() |
public static final com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.PullRequestStatus,StashPullRequestStatus> FROM_PR_STATUS
public StashPullRequestStatus(long id, long version, @NotNull String title, @NotNull String url, @Nullable String mergeOutcome, @NotNull StashPullRequestParticipant author, @NotNull List<StashPullRequestParticipant> reviewers, @NotNull StashPullRequestRef fromRef, @NotNull StashPullRequestRef toRef, long lastUpdated, @Nullable Long commentCount, @Nullable Long outstandingTaskCount, @Nullable Long resolvedTaskCount)
public long getId()
public long getVersion()
@NotNull public String getTitle()
@NotNull public String getUrl()
@Nullable public String getMergeOutcome()
@NotNull public StashPullRequestParticipant getAuthor()
@NotNull public List<StashPullRequestParticipant> getReviewers()
@NotNull public StashPullRequestRef getFromRef()
@NotNull public StashPullRequestRef getToRef()
public long getLastUpdated()
@Nullable public Long getCommentCount()
@Nullable public Long getOutstandingTaskCount()
@Nullable public Long getResolvedTaskCount()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.