Interface VcsPullRequest

    • Method Detail

      • getKey

        String getKey()
        Returns:
        repository specific pull request key
      • getSourceRepositoryId

        @Nullable
        @Nullable Long getSourceRepositoryId()
        Returns:
        source repository id or null if source repository is out of Bamboo control
      • getTargetRepositoryId

        long getTargetRepositoryId()
        Returns:
        target repository id
      • getSource

        @NotNull
        @NotNull String getSource()
        Returns:
        source branch name or git ref
      • getTarget

        @NotNull
        @NotNull String getTarget()
        Returns:
        name of target branch name or git ref
      • isOpen

        boolean isOpen()
        Returns:
        if pull request is open or merged/declined
      • getVcsForkDto

        @Nullable
        @Nullable VcsForkDto getVcsForkDto()
        Returns:
        data access object connected with pull requests made from forked repositories
      • getLastModificationDate

        Date getLastModificationDate()
      • isFromFork

        default boolean isFromFork()
        Returns:
        if PR is within repositories known to Bamboo or source repository is out of Bamboo control