Class StashPullRequestStatus
- java.lang.Object
-
- com.atlassian.bamboo.plugins.stash.rest.entity.StashPullRequestStatus
-
public class StashPullRequestStatus extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.PullRequestStatus,StashPullRequestStatus>
FROM_PR_STATUS
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
FROM_PR_STATUS
public static final com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.PullRequestStatus,StashPullRequestStatus> FROM_PR_STATUS
-
-
Constructor Detail
-
StashPullRequestStatus
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)
-
-
Method Detail
-
getId
public long getId()
-
getVersion
public long getVersion()
-
getTitle
@NotNull public @NotNull String getTitle()
-
getUrl
@NotNull public @NotNull String getUrl()
-
getMergeOutcome
@Nullable public @Nullable String getMergeOutcome()
-
getAuthor
@NotNull public @NotNull StashPullRequestParticipant getAuthor()
-
getReviewers
@NotNull public @NotNull List<StashPullRequestParticipant> getReviewers()
-
getFromRef
@NotNull public @NotNull StashPullRequestRef getFromRef()
-
getToRef
@NotNull public @NotNull StashPullRequestRef getToRef()
-
getLastUpdated
public long getLastUpdated()
-
getCommentCount
@Nullable public @Nullable Long getCommentCount()
-
getOutstandingTaskCount
@Nullable public @Nullable Long getOutstandingTaskCount()
-
getResolvedTaskCount
@Nullable public @Nullable Long getResolvedTaskCount()
-
-