public interface PullRequestMergeabilityPropertyProvider
PullRequestMergeability
.
NOTE: Property values must be convertible to JSON (e.g. extend from RestMapEntity
), or otherwise REST
requests to entities owning the properties will fail.
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
provideProperties(com.atlassian.bitbucket.pull.PullRequest pullRequest,
com.atlassian.bitbucket.pull.PullRequestMergeability mergeability)
Provide properties for the provided pull request and mergeability.
|
@Nonnull Map<String,Object> provideProperties(@Nonnull com.atlassian.bitbucket.pull.PullRequest pullRequest, @Nonnull com.atlassian.bitbucket.pull.PullRequestMergeability mergeability)
pullRequest
- the pull requestmergeability
- the pull request mergeabilitymergeability
. Can be empty, but not null.Copyright © 2020 Atlassian. All rights reserved.