Remove ImportResolutionMode.OPENCONFIG_SEMVER
[yangtools.git] / parser / yang-parser-api / src / main / java / org / opendaylight / yangtools / yang / parser / api / ImportResolutionMode.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, 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 package org.opendaylight.yangtools.yang.parser.api;
9
10 /**
11  * Enumeration of various ways of resolving {@code import} statements.
12  */
13 public enum ImportResolutionMode {
14     /**
15      * Standard method as specified by <a href="https://tools.ietf.org/html/rfc6020#section-7.1.5">RFC6020</a> and
16      * refined by <a href="https://tools.ietf.org/html/rfc7950#section-7.1.5">RFC7950</a>. {@code import}s are resolved
17      * based on exact match of {@code revision-date} statement. In case it is not specified, latest available revision
18      * is used.
19      */
20     DEFAULT;
21 }