public final class EventNotificationConfigBuilder extends Object
The EventNotificationConfigBuilder class is used to build and configure event notifications.
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
|
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 forEvent(NotificationEvent event)
Adds an event to the current EventNotificationConfig event set
event
- the new eventpublic EventNotificationConfig build()
Builds the actual event notification config object
Copyright 2014, Silanis Technology, Inc. All rights reserved.