Interface PullRequestMergeHookRequest
- All Superinterfaces:
MergeHookRequest
,RepositoryHookRequest
- All Known Implementing Classes:
SimplePullRequestMergeHookRequest
Request that is provided to
repository-hook
plugin modules when a PullRequest
is merged.- Since:
- 5.0
- See Also:
-
Method Summary
Methods inherited from interface com.atlassian.bitbucket.hook.repository.MergeHookRequest
getMergeHash, getMessage, getStrategyId, isCrossRepository
Methods inherited from interface com.atlassian.bitbucket.hook.repository.RepositoryHookRequest
getContext, getRefChanges, getRepository, getScmHookDetails, getTrigger, isDryRun
-
Method Details
-
getFromRef
- Specified by:
getFromRef
in interfaceMergeHookRequest
- Returns:
- the pull request's
from-ref
-
getPullRequest
- Returns:
- the pull request being merged
-
getToRef
- Specified by:
getToRef
in interfaceMergeHookRequest
- Returns:
- the pull request's
to-ref
-
isAutoMerge
boolean isAutoMerge()- Returns:
- if the pull-request is being auto-merged
- Since:
- 9.5
- See Also:
-