@Portable public class PullRequestImpl extends Object implements PullRequest
| Constructor and Description |
|---|
PullRequestImpl() |
PullRequestImpl(long id,
String sourceSpace,
String sourceRepository,
String sourceBranch,
String targetSpace,
String targetRepository,
String targetBranch,
PullRequestStatus status) |
PullRequestImpl(String sourceSpace,
String sourceRepository,
String sourceBranch,
String targetSpace,
String targetRepository,
String targetBranch) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getId()
Returns the generated pull request id.
|
String |
getSourceBranch()
Returns the source branch.
|
String |
getSourceRepository()
Returns the source repository.
|
String |
getSourceSpace() |
PullRequestStatus |
getStatus()
Returns pull request status.
|
String |
getTargetBranch()
Returns the target branch.
|
String |
getTargetRepository()
Returns the target repository
|
String |
getTargetSpace() |
int |
hashCode() |
String |
toString() |
public PullRequestImpl()
public PullRequestImpl(String sourceSpace, String sourceRepository, String sourceBranch, String targetSpace, String targetRepository, String targetBranch)
public long getId()
PullRequestgetId in interface PullRequestpublic String getTargetSpace()
getTargetSpace in interface PullRequestpublic String getTargetRepository()
PullRequestgetTargetRepository in interface PullRequestpublic String getTargetBranch()
PullRequestgetTargetBranch in interface PullRequestpublic String getSourceSpace()
getSourceSpace in interface PullRequestpublic String getSourceRepository()
PullRequestgetSourceRepository in interface PullRequestpublic String getSourceBranch()
PullRequestgetSourceBranch in interface PullRequestpublic PullRequestStatus getStatus()
PullRequestPullRequestStatus to see the different values it can take.getStatus in interface PullRequestCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.