Interface MutableVcsPullRequest
- All Superinterfaces:
BambooIdProvider,BambooObject,CreationDateProvider,VcsPullRequest
- All Known Implementing Classes:
VcsPullRequestImpl
Mutable pull request entity.
- Since:
- 6.0
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetOpen(boolean open) voidvoidsetSourceRepositoryId(@Nullable Long sourceRepositoryId) voidvoidsetTargetRepositoryId(long targetRepositoryId) voidsetVcsForkDto(@Nullable String sourceParentIdentifier, @Nullable String sourceRepositoryIdentifier) voidsetVcsForkDto(VcsForkDto vcsForkDto) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
getCreationDateMethods inherited from interface com.atlassian.bamboo.plan.pullrequest.VcsPullRequest
getKey, getLastModificationDate, getSource, getSourceRepositoryId, getTarget, getTargetRepositoryId, getVcsForkDto, isFromFork, isOpen
-
Method Details
-
setKey
- Parameters:
vcsPullRequestKey- VCS-specific id of pull request
-
setSourceRepositoryId
- Parameters:
sourceRepositoryId- source repository id
-
setSource
- Parameters:
source- branch name or git ref
-
setTargetRepositoryId
void setTargetRepositoryId(long targetRepositoryId) - Parameters:
targetRepositoryId- target repository id
-
setTarget
- Parameters:
target- branch name or git ref
-
setOpen
void setOpen(boolean open) - Parameters:
open- pull request open status
-
setVcsForkDto
- Parameters:
vcsForkDto- forked pull request specific data access object
-
setVcsForkDto
void setVcsForkDto(@Nullable @Nullable String sourceParentIdentifier, @Nullable @Nullable String sourceRepositoryIdentifier) - Parameters:
sourceParentIdentifier- the project identifier of forked/source repository, e.g. project keysourceRepositoryIdentifier- the forked repository identifier, e.g. repository slug
-