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

org.opendaylight.jsonrpc.model.DataChangeNotification Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2018 Lumina Networks, Inc. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.jsonrpc.model;

import java.util.Objects;
import java.util.Set;
import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener;

/**
 * Data change notification object.
 *
 * @see DOMDataTreeChangeListener
 *
 * @author Richard Kosegi
 * @since Apr 17, 2018
 */
public class DataChangeNotification {
    private final Set changes;

    public DataChangeNotification(Set changes) {
        this.changes = Objects.requireNonNull(changes);
    }

    public Set getChanges() {
        return changes;
    }

    @Override
    public String toString() {
        return "DataChangeNotification [changes=" + getChanges() + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy