public interface

PullRequest

implements Watchable
com.atlassian.stash.pull.PullRequest

Summary

Public Methods
@Nonnull PullRequestParticipant getAuthor()
@Nonnull Date getCreatedDate()
@Nullable @OptionalString String getDescription()
@Nonnull PullRequestRef getFromRef()
@Nullable Long getId()
@Nonnull Set<PullRequestParticipant> getParticipants()
@Nonnull Set<PullRequestParticipant> getReviewers()
@Nonnull PullRequestState getState()
@Nonnull @RequiredString String getTitle()
@Nonnull PullRequestRef getToRef()
@Nonnull Date getUpdatedDate()
int getVersion()
boolean isCrossRepository()
Retrieves a flag indicating whether the from and to repositories for this pull request are distinct.
[Expand]
Inherited Methods
From interface com.atlassian.stash.watcher.Watchable

Public Methods

@Nonnull public PullRequestParticipant getAuthor ()

@Nonnull public Date getCreatedDate ()

@Nullable @OptionalString public String getDescription ()

@Nonnull public PullRequestRef getFromRef ()

@Nullable public Long getId ()

@Nonnull public Set<PullRequestParticipant> getParticipants ()

@Nonnull public Set<PullRequestParticipant> getReviewers ()

@Nonnull public PullRequestState getState ()

@Nonnull @RequiredString public String getTitle ()

@Nonnull public PullRequestRef getToRef ()

@Nonnull public Date getUpdatedDate ()

public int getVersion ()

public boolean isCrossRepository ()

Retrieves a flag indicating whether the from and to repositories for this pull request are distinct. This is a convenience utility to allow simple detection for pull requests that merge changes from one repository into another.

Returns
  • true if this pull request will merge changes from one repository into another one; otherwise, false if the changes are simply on different branches in the same repository