Package com.atlassian.bitbucket.compare
Class CompareRequest.Builder
java.lang.Object
com.atlassian.bitbucket.compare.CompareRequest.Builder
- Enclosing class:
- CompareRequest
-
Constructor Summary
ConstructorDescriptionBuilder()
Builder
(CompareDiffRequest request) Builder
(CompareDiffStatsSummaryRequest request) Builder
(PullRequest pullRequest) Convenience constructor for creating aBuilder
using the refs from a providedPullRequest
. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
fromRef
(CompareRef fromRef) fromRef
(String id, Repository repository) toRef
(CompareRef toRef) toRef
(String id, Repository repository)
-
Constructor Details
-
Builder
public Builder() -
Builder
-
Builder
- Parameters:
request
- theCompareDiffStatsSummaryRequest
to build aCompareRequest
from- Since:
- 9.1
-
Builder
Convenience constructor for creating aBuilder
using the refs from a providedPullRequest
.- Parameters:
pullRequest
- the pull request to build aCompareRequest
from
-
-
Method Details
-
build
-
fromRef
-
fromRef
-
toRef
-
toRef
-