Modifier and Type | Class and Description |
---|---|
static class |
RepositoryHookResult.Builder |
Modifier and Type | Method and Description |
---|---|
static RepositoryHookResult |
accepted() |
boolean |
equals(Object o) |
List<RepositoryHookVeto> |
getVetoes() |
int |
hashCode() |
boolean |
isAccepted() |
boolean |
isRejected() |
static RepositoryHookResult |
rejected(String summaryMessage,
String detailMessage) |
@Nonnull public static RepositoryHookResult accepted()
@Nonnull public static RepositoryHookResult rejected(@Nonnull String summaryMessage, @Nonnull String detailMessage)
summaryMessage
- a short summary of the reason the request is rejecteddetailMessage
- a detailed description of the reason for rejecting the request@Nonnull public List<RepositoryHookVeto> getVetoes()
public boolean isAccepted()
true
if the request was acceptedpublic boolean isRejected()
true
if the request was rejectedCopyright © 2019 Atlassian. All rights reserved.