@Portable public class PullRequestImpl extends Object implements PullRequest
| Constructor and Description |
|---|
PullRequestImpl() |
PullRequestImpl(long id,
String sourceRepository,
String sourceBranch,
String targetRepository,
String targetBranch,
PullRequestStatus status) |
PullRequestImpl(String sourceRepository,
String sourceBranch,
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.
|
PullRequestStatus |
getStatus()
Returns pull request status.
|
String |
getTargetBranch()
Returns the target branch.
|
String |
getTargetRepository()
Returns the target repository
|
int |
hashCode() |
String |
toString() |
public PullRequestImpl()
public PullRequestImpl(String sourceRepository, String sourceBranch, String targetRepository, String targetBranch)
public PullRequestImpl(long id,
String sourceRepository,
String sourceBranch,
String targetRepository,
String targetBranch,
PullRequestStatus status)
public long getId()
PullRequestgetId in interface PullRequestpublic String getTargetRepository()
PullRequestgetTargetRepository in interface PullRequestpublic String getTargetBranch()
PullRequestgetTargetBranch 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 © 2001–2017 JBoss by Red Hat. All rights reserved.