public class BranchDeletionHookRequest extends BranchHookRequest
hook request that is raised just before a branch is deleted using the UI or REST.
 Branches deleted by pushing will trigger a standard RepositoryHookRequest and not this specific type.StandardRepositoryHookTrigger.BRANCH_DELETE| Modifier and Type | Class and Description | 
|---|---|
| static class  | BranchDeletionHookRequest.Builder | 
BranchHookRequest.AbstractBuilder<B extends BranchHookRequest.AbstractBuilder<B>>| Modifier and Type | Method and Description | 
|---|---|
| Collection<RefChange> | getRefChanges() | 
getBranchgetContext, getRepository, getScmHookDetails, getTrigger, isDryRun@Nonnull public Collection<RefChange> getRefChanges()
getRefChanges in interface RepositoryHookRequestgetRefChanges in class AbstractRepositoryHookRequestempty for some dry-run requests where the
         target hash is not yet known because the relevant commit hasn't been created yet. As an example, this is
         the case for merge requests. In these cases, the specialized request type should
         provide sufficient information about the proposed change. For MergeHookRequest, this would be
         MergeHookRequest.getFromRef() and MergeHookRequest.getToRef().Copyright © 2020 Atlassian. All rights reserved.