A race condition occurs between ARPHandler and HostTracker if the ARP
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / api / AugmentationTargetBuilder.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.yang.parser.builder.api;
9
10 /**
11  * Interface for builders of those nodes, which can be augmentation targets.
12  */
13 public interface AugmentationTargetBuilder {
14
15     /**
16      * Add augment, which points to this node.
17      *
18      * @param augment
19      *            augment which points to this node
20      */
21     void addAugmentation(AugmentationSchemaBuilder augment);
22
23     /**
24      * Build again already built data node.
25      *
26      * In general, when Builder.build is called first time, it creates YANG data
27      * model node instance. With every other call it just return this instance
28      * without checking for properties change. This method causes that builder
29      * object process again all its properties and return an updated instance of
30      * YANG data node.
31      */
32     void rebuild();
33
34 }