@NotThreadSafe public static class Notifier.Builder extends Object
Notifier.with()
,
Notifier.newBuilder()
Modifier and Type | Method and Description |
---|---|
Notifier.Builder |
address(String address) |
Notifier |
build() |
Notifier.Builder |
configuration(Map<String,String> configuration) |
Notifier.Builder |
location(Object key,
InputLocation location) |
Notifier.Builder |
sendOnError(boolean sendOnError) |
Notifier.Builder |
sendOnFailure(boolean sendOnFailure) |
Notifier.Builder |
sendOnSuccess(boolean sendOnSuccess) |
Notifier.Builder |
sendOnWarning(boolean sendOnWarning) |
Notifier.Builder |
type(String type) |
@Nonnull public Notifier.Builder type(String type)
@Nonnull public Notifier.Builder sendOnError(boolean sendOnError)
@Nonnull public Notifier.Builder sendOnFailure(boolean sendOnFailure)
@Nonnull public Notifier.Builder sendOnSuccess(boolean sendOnSuccess)
@Nonnull public Notifier.Builder sendOnWarning(boolean sendOnWarning)
@Nonnull public Notifier.Builder address(String address)
@Nonnull public Notifier.Builder configuration(Map<String,String> configuration)
@Nonnull public Notifier.Builder location(Object key, InputLocation location)
@Nonnull public Notifier build()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.