public interface GitRebaseHookRequest
extends com.atlassian.bitbucket.hook.repository.RepositoryHookRequest
repository-hook plugin modules when a branch is rebased.GitRepositoryHookTrigger.REBASE| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bitbucket.repository.Branch |
getBranch() |
Optional<String> |
getCommitId() |
String |
getUpstream() |
com.atlassian.bitbucket.repository.Repository |
getUpstreamRepository() |
boolean |
isCrossRepository() |
@Nonnull com.atlassian.bitbucket.repository.Branch getBranch()
@Nonnull Optional<String> getCommitId()
empty() if this is a dry-run
request@Nonnull String getUpstream()
branch's unique commits were rebased against@Nonnull com.atlassian.bitbucket.repository.Repository getUpstreamRepository()
RepositoryHookRequest.getRepository() but will
never be nullCopyright © 2019 Atlassian. All rights reserved.