public interface MutableVcsPullRequest extends VcsPullRequest, BambooObject
ORDERING
Modifier and Type | Method and Description |
---|---|
void |
setKey(String vcsPullRequestKey) |
void |
setOpen(boolean open) |
void |
setSource(@NotNull String source) |
void |
setSourceRepositoryId(@Nullable Long sourceRepositoryId) |
void |
setTarget(@NotNull String target) |
void |
setTargetRepositoryId(long targetRepositoryId) |
void |
setVcsForkDto(@Nullable String sourceParentIdentifier,
@Nullable String sourceRepositoryIdentifier) |
void |
setVcsForkDto(VcsForkDto vcsForkDto) |
getKey, getLastModificationDate, getSource, getSourceRepositoryId, getTarget, getTargetRepositoryId, getVcsForkDto, isFromFork, isOpen
getCreationDate
setId
getId
void setKey(String vcsPullRequestKey)
vcsPullRequestKey
- VCS-specific id of pull requestvoid setSourceRepositoryId(@Nullable @Nullable Long sourceRepositoryId)
sourceRepositoryId
- source repository idvoid setSource(@NotNull @NotNull String source)
source
- branch name or git refvoid setTargetRepositoryId(long targetRepositoryId)
targetRepositoryId
- target repository idvoid setTarget(@NotNull @NotNull String target)
target
- branch name or git refvoid setOpen(boolean open)
open
- pull request open statusvoid setVcsForkDto(VcsForkDto vcsForkDto)
vcsForkDto
- forked pull request specific data access objectvoid setVcsForkDto(@Nullable @Nullable String sourceParentIdentifier, @Nullable @Nullable String sourceRepositoryIdentifier)
sourceParentIdentifier
- the project identifier of forked/source repository, e.g. project keysourceRepositoryIdentifier
- the forked repository identifier, e.g. repository slugCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.