Merge "Flow Topology Exporter"
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / DataChangeEvent.java
1 /*
2  * Copyright (c) 2013 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 package org.opendaylight.controller.md.sal.common.api.data;
9
10 import org.opendaylight.yangtools.concepts.Immutable;
11
12 public interface DataChangeEvent<P,D> extends DataChange<P, D>, Immutable {
13
14     /**
15      * Returns a orignal subtree of data, which starts at the path
16      * where listener was registered.
17      * 
18      */
19     D getOriginalConfigurationSubtree();
20
21     /**
22      * Returns a new subtree of data, which starts at the path
23      * where listener was registered.
24      * 
25      */
26     D getOriginalOperationalSubtree();
27     
28     
29     
30     /**
31      * Returns a updated subtree of data, which starts at the path
32      * where listener was registered.
33      * 
34      */
35     D getUpdatedConfigurationSubtree();
36
37     /**
38      * Returns a udpated subtree of data, which starts at the path
39      * where listener was registered.
40      * 
41      */
42     D getUpdatedOperationalSubtree();
43 }