@Entity public class VcsPullRequestImpl extends com.atlassian.core.bean.EntityObject implements MutableVcsPullRequest
ORDERING| Constructor and Description |
|---|
VcsPullRequestImpl() |
VcsPullRequestImpl(VcsPullRequest pullRequest) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getKey() |
@NotNull String |
getSource() |
Long |
getSourceRepositoryId() |
@NotNull String |
getTarget() |
long |
getTargetRepositoryId() |
@Nullable VcsForkDto |
getVcsForkDto() |
int |
hashCode() |
boolean |
isOpen() |
void |
setKey(String vcsPullRequestKey) |
void |
setOpen(boolean open) |
void |
setSource(@NotNull String source) |
void |
setSourceRepositoryId(Long sourceRepositoryId) |
void |
setTarget(@NotNull String target) |
void |
setTargetRepositoryId(long targetRepositoryId) |
void |
setVcsForkDto(@Nullable String sourceParentIdentifier,
@Nullable String sourceRepositoryIdentifier) |
void |
setVcsForkDto(@Nullable VcsForkDto vcsForkDto) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, wait, wait, waitgetLastModificationDate, isFromForkgetCreationDatesetIdgetIdpublic VcsPullRequestImpl()
public VcsPullRequestImpl(VcsPullRequest pullRequest)
public String getKey()
getKey in interface VcsPullRequestpublic void setKey(String vcsPullRequestKey)
setKey in interface MutableVcsPullRequestvcsPullRequestKey - VCS-specific id of pull requestpublic Long getSourceRepositoryId()
getSourceRepositoryId in interface VcsPullRequestpublic void setSourceRepositoryId(Long sourceRepositoryId)
setSourceRepositoryId in interface MutableVcsPullRequestsourceRepositoryId - source repository idpublic long getTargetRepositoryId()
getTargetRepositoryId in interface VcsPullRequestpublic void setTargetRepositoryId(long targetRepositoryId)
setTargetRepositoryId in interface MutableVcsPullRequesttargetRepositoryId - target repository id@NotNull public @NotNull String getSource()
getSource in interface VcsPullRequestpublic void setSource(@NotNull
@NotNull String source)
setSource in interface MutableVcsPullRequestsource - branch name or git ref@NotNull public @NotNull String getTarget()
getTarget in interface VcsPullRequestpublic void setTarget(@NotNull
@NotNull String target)
setTarget in interface MutableVcsPullRequesttarget - branch name or git refpublic boolean isOpen()
isOpen in interface VcsPullRequestpublic void setOpen(boolean open)
setOpen in interface MutableVcsPullRequestopen - pull request open status@Nullable public @Nullable VcsForkDto getVcsForkDto()
getVcsForkDto in interface VcsPullRequestpublic void setVcsForkDto(@Nullable
@Nullable VcsForkDto vcsForkDto)
setVcsForkDto in interface MutableVcsPullRequestvcsForkDto - forked pull request specific data access objectpublic void setVcsForkDto(@Nullable
@Nullable String sourceParentIdentifier,
@Nullable
@Nullable String sourceRepositoryIdentifier)
setVcsForkDto in interface MutableVcsPullRequestsourceParentIdentifier - the project identifier of forked/source repository, e.g. project keysourceRepositoryIdentifier - the forked repository identifier, e.g. repository slugpublic boolean equals(Object o)
equals in class com.atlassian.core.bean.EntityObjectpublic int hashCode()
hashCode in class com.atlassian.core.bean.EntityObjectCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.