BUG-8733: refactor IdInts listeners
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / provider / src / main / java / org / opendaylight / controller / clustering / it / provider / impl / IdIntsListener.java
1 /*
2  * Copyright (c) 2017 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.clustering.it.provider.impl;
10
11 import java.util.Collection;
12 import javax.annotation.Nonnull;
13 import org.opendaylight.controller.md.sal.dom.api.ClusteredDOMDataTreeChangeListener;
14 import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate;
15
16 public class IdIntsListener extends AbstractDataListener implements ClusteredDOMDataTreeChangeListener {
17     @Override
18     public void onDataTreeChanged(@Nonnull final Collection<DataTreeCandidate> changes) {
19         onReceivedChanges(changes);
20     }
21 }