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
  • Method Details

    • 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 key
      sourceRepositoryIdentifier - the forked repository identifier, e.g. repository slug