@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()
PullRequest
getId
in interface PullRequest
public String getTargetSpace()
getTargetSpace
in interface PullRequest
public String getTargetRepository()
PullRequest
getTargetRepository
in interface PullRequest
public String getTargetBranch()
PullRequest
getTargetBranch
in interface PullRequest
public String getSourceSpace()
getSourceSpace
in interface PullRequest
public String getSourceRepository()
PullRequest
getSourceRepository
in interface PullRequest
public String getSourceBranch()
PullRequest
getSourceBranch
in interface PullRequest
public PullRequestStatus getStatus()
PullRequest
PullRequestStatus
to see the different values it can take.getStatus
in interface PullRequest
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.