blob: bbb673a259bc04c727834ac03dedce02b3390435 [file] [log] [blame]
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +05303 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
6 * the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16
17package org.onosproject.yangutils.linker;
18
Gaurav Agrawal0d43bb52016-05-17 18:06:38 +053019import java.util.Set;
20import org.onosproject.yangutils.plugin.manager.YangFileInfo;
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053021
22/**
23 * Abstraction of entity which provides linking service of YANG files.
24 */
25public interface YangLinker {
26
27 /**
28 * Resolve the import and include dependencies for a given resolution
29 * information.
30 *
Gaurav Agrawal0d43bb52016-05-17 18:06:38 +053031 * @param yangFileInfoSet set of all dependent YANG files
32 */
33 void resolveDependencies(Set<YangFileInfo> yangFileInfoSet);
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053034}