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,
@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) |
Modifier and Type | Method and Description |
---|---|
@NotNull StashPullRequestParticipant |
getAuthor() |
@Nullable Long |
getCommentCount() |
@NotNull StashPullRequestRef |
getFromRef() |
long |
getId() |
long |
getLastUpdated() |
@Nullable String |
getMergeOutcome() |
@Nullable Long |
getOutstandingTaskCount() |
@Nullable Long |
getResolvedTaskCount() |
@NotNull List<StashPullRequestParticipant> |
getReviewers() |
@NotNull String |
getTitle() |
@NotNull StashPullRequestRef |
getToRef() |
@NotNull 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 @NotNull String title, @NotNull @NotNull String url, @Nullable @Nullable String mergeOutcome, @NotNull @NotNull StashPullRequestParticipant author, @NotNull @NotNull List<StashPullRequestParticipant> reviewers, @NotNull @NotNull StashPullRequestRef fromRef, @NotNull @NotNull StashPullRequestRef toRef, long lastUpdated, @Nullable @Nullable Long commentCount, @Nullable @Nullable Long outstandingTaskCount, @Nullable @Nullable Long resolvedTaskCount)
public long getId()
public long getVersion()
@NotNull public @NotNull String getTitle()
@NotNull public @NotNull String getUrl()
@Nullable public @Nullable String getMergeOutcome()
@NotNull public @NotNull StashPullRequestParticipant getAuthor()
@NotNull public @NotNull List<StashPullRequestParticipant> getReviewers()
@NotNull public @NotNull StashPullRequestRef getFromRef()
@NotNull public @NotNull StashPullRequestRef getToRef()
public long getLastUpdated()
@Nullable public @Nullable Long getCommentCount()
@Nullable public @Nullable Long getOutstandingTaskCount()
@Nullable public @Nullable Long getResolvedTaskCount()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.