apply checkstyle check during build for neutron-mapper
[groupbasedpolicy.git] / neutron-mapper / src / main / java / org / opendaylight / groupbasedpolicy / neutron / mapper / mapping / NeutronAware.java
1 /*
2  * Copyright (c) 2016 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.groupbasedpolicy.neutron.mapper.mapping;
10
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.rev150712.Neutron;
12 import org.opendaylight.yangtools.yang.binding.DataObject;
13
14 public interface NeutronAware<T extends DataObject> {
15
16     void onCreated(T createdItem, Neutron neutron);
17
18     void onUpdated(T oldItem, T newItem, Neutron oldNeutron, Neutron newNeutron);
19
20     void onDeleted(T deletedItem, Neutron oldNeutron, Neutron newNeutron);
21 }