public final class EventNotificationConfigBuilder extends Object
The EventNotificationConfigBuilder class is used to build and configure event notifications.
Events and Event Notifications [eSignLive™ Documentation Project]| Modifier and Type | Method and Description |
|---|---|
EventNotificationConfig |
build()
Builds the actual event notification config object
|
EventNotificationConfigBuilder |
forEvent(NotificationEvent event)
Adds an event to the current EventNotificationConfig event set
|
static EventNotificationConfigBuilder |
newEventNotificationConfig(String url)
Creates a new newEventNotificationConfigBuilder for the url specified as argument
|
EventNotificationConfigBuilder |
setEvents(Set<NotificationEvent> events)
Set events to the current EventNotificationConfig event set
|
EventNotificationConfigBuilder |
withKey(String key)
Adds a key to the current EventNotificationConfig.
|
public static EventNotificationConfigBuilder newEventNotificationConfig(String url)
Creates a new newEventNotificationConfigBuilder for the url specified as argument
url - represents the endpoint to which e-SL will post HTTP based notificationspublic EventNotificationConfigBuilder withKey(String key)
key - callback auth keypublic EventNotificationConfigBuilder forEvent(NotificationEvent event)
Adds an event to the current EventNotificationConfig event set
event - the new eventpublic EventNotificationConfigBuilder setEvents(Set<NotificationEvent> events)
Set events to the current EventNotificationConfig event set
events - the eventspublic EventNotificationConfig build()
Builds the actual event notification config object
Copyright 2022 OneSpan All rights reserved.