public static class RepositoryHookResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Builder(RepositoryHookResult result) |
Modifier and Type | Method and Description |
---|---|
RepositoryHookResult.Builder |
add(RepositoryHookResult value)
Includes all
vetoes from another result |
RepositoryHookResult |
build() |
boolean |
isRejected() |
RepositoryHookResult.Builder |
veto(String summaryMessage,
String detailedMessage) |
public Builder()
public Builder(@Nonnull RepositoryHookResult result)
@Nonnull public RepositoryHookResult.Builder add(@Nullable RepositoryHookResult value)
vetoes
from another resultvalue
- the other result to includethis
@Nonnull public RepositoryHookResult build()
public boolean isRejected()
Copyright © 2019 Atlassian. All rights reserved.