public interface MergeHookRequest extends RepositoryHookRequest
repository-hook plugin modules when two branches are merged in a repository.StandardRepositoryHookTrigger.MERGE| Modifier and Type | Method and Description |
|---|---|
RepositoryRef |
getFromRef() |
Optional<String> |
getMergeHash() |
Optional<String> |
getMessage() |
Optional<String> |
getStrategyId() |
RepositoryRef |
getToRef() |
boolean |
isCrossRepository() |
getContext, getRefChanges, getRepository, getScmHookDetails, getTrigger, isDryRun@Nonnull RepositoryRef getFromRef()
target branch@Nonnull Optional<String> getMergeHash()
Optional.empty() if this is a dry-run request.@Nonnull Optional<String> getMessage()
Optional.empty() if this is a dry-run request.@Nonnull RepositoryRef getToRef()
Copyright © 2019 Atlassian. All rights reserved.