Interface MutableVcsPullRequest
-
- All Superinterfaces:
BambooIdProvider,BambooObject,CreationDateProvider,VcsPullRequest
- All Known Implementing Classes:
VcsPullRequestImpl
public interface MutableVcsPullRequest extends VcsPullRequest, BambooObject
Mutable pull request entity.- Since:
- 6.0
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetKey(String vcsPullRequestKey)voidsetOpen(boolean open)voidsetSource(@NotNull String source)voidsetSourceRepositoryId(@Nullable Long sourceRepositoryId)voidsetTarget(@NotNull String target)voidsetTargetRepositoryId(long targetRepositoryId)voidsetVcsForkDto(@Nullable String sourceParentIdentifier, @Nullable String sourceRepositoryIdentifier)voidsetVcsForkDto(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 Detail
-
setKey
void setKey(String vcsPullRequestKey)
- Parameters:
vcsPullRequestKey- VCS-specific id of pull request
-
setSourceRepositoryId
void setSourceRepositoryId(@Nullable @Nullable Long sourceRepositoryId)- Parameters:
sourceRepositoryId- source repository id
-
setSource
void setSource(@NotNull @NotNull String source)- Parameters:
source- branch name or git ref
-
setTargetRepositoryId
void setTargetRepositoryId(long targetRepositoryId)
- Parameters:
targetRepositoryId- target repository id
-
setTarget
void setTarget(@NotNull @NotNull String target)- Parameters:
target- branch name or git ref
-
setOpen
void setOpen(boolean open)
- Parameters:
open- pull request open status
-
setVcsForkDto
void setVcsForkDto(VcsForkDto vcsForkDto)
- 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
-
-