Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / spi / source / ModulesDeviatedByModules.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.yangtools.yang.parser.spi.source;
10
11 import com.google.common.annotations.Beta;
12 import java.util.Map;
13 import java.util.Set;
14 import org.opendaylight.yangtools.yang.common.QNameModule;
15 import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
16
17 /**
18  * Namespace used for storing information about modules that support deviation resolution.
19  * Map key (QNameModule) denotes a module which can be deviated by the modules specified in the Map value.
20  */
21 @Beta
22 public interface ModulesDeviatedByModules
23         extends IdentifierNamespace<ModulesDeviatedByModules.SupportedModules, Map<QNameModule, Set<QNameModule>>> {
24
25     enum SupportedModules {
26         SUPPORTED_MODULES
27     }
28 }