@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() |
String |
getSource() |
Long |
getSourceRepositoryId() |
String |
getTarget() |
long |
getTargetRepositoryId() |
int |
hashCode() |
boolean |
isOpen() |
void |
setKey(String vcsPullRequestKey) |
void |
setOpen(boolean open) |
void |
setSource(String source) |
void |
setSourceRepositoryId(Long sourceRepositoryId) |
void |
setTarget(String target) |
void |
setTargetRepositoryId(long targetRepositoryId) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
getLastModificationDate, isFromFork
getCreationDate
setId
getId
public VcsPullRequestImpl()
public VcsPullRequestImpl(VcsPullRequest pullRequest)
public String getKey()
getKey
in interface VcsPullRequest
public void setKey(String vcsPullRequestKey)
setKey
in interface MutableVcsPullRequest
vcsPullRequestKey
- VCS-specific id of pull requestpublic Long getSourceRepositoryId()
getSourceRepositoryId
in interface VcsPullRequest
public void setSourceRepositoryId(Long sourceRepositoryId)
setSourceRepositoryId
in interface MutableVcsPullRequest
sourceRepositoryId
- source repository idpublic long getTargetRepositoryId()
getTargetRepositoryId
in interface VcsPullRequest
public void setTargetRepositoryId(long targetRepositoryId)
setTargetRepositoryId
in interface MutableVcsPullRequest
targetRepositoryId
- target repository id@NotNull public String getSource()
getSource
in interface VcsPullRequest
public void setSource(@NotNull String source)
setSource
in interface MutableVcsPullRequest
source
- branch name or git ref@NotNull public String getTarget()
getTarget
in interface VcsPullRequest
public void setTarget(@NotNull String target)
setTarget
in interface MutableVcsPullRequest
target
- branch name or git refpublic boolean isOpen()
isOpen
in interface VcsPullRequest
public void setOpen(boolean open)
setOpen
in interface MutableVcsPullRequest
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.