All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.silanis.esl.sdk.EventNotificationConfig Maven / Gradle / Ivy

There is a newer version: 11.59.0
Show newest version
package com.silanis.esl.sdk;

import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.Set;

public class EventNotificationConfig {
    private String url;
    private String key;
    private Set events;

    public EventNotificationConfig(String url) {
        this(url, "");
    }

    public EventNotificationConfig(String url, String key) {
        this.url = url;
        this.key = key;
        events = new LinkedHashSet();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public void setEvents(Set events) {
        this.events = events;
    }

    public Collection getEvents() {
        return events;
    }

    public void addEvent(NotificationEvent event) {
        this.events.add(event);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy