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 TypeMethodDescriptionvoid
void
setOpen
(boolean open) void
void
setSourceRepositoryId
(@Nullable Long sourceRepositoryId) void
void
setTargetRepositoryId
(long targetRepositoryId) void
setVcsForkDto
(@Nullable String sourceParentIdentifier, @Nullable String sourceRepositoryIdentifier) void
setVcsForkDto
(VcsForkDto vcsForkDto) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
getCreationDate
Methods 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
-