8831c498b3e0a5b627dc1dd52b01efe6ade8dc97
[yangtools.git] / yang / rfc8528-model-api / src / main / java / org / opendaylight / yangtools / rfc8528 / model / api / StaticMountPointSchemaResolver.java
1 /*
2  * Copyright (c) 2019 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.rfc8528.model.api;
9
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNull;
12 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
13 import org.opendaylight.yangtools.yang.model.api.SchemaContextProvider;
14
15 /**
16  * A resolver which has static knowledge of the SchemaContext which should be used to interpret mount point data.
17  * Instances of this interface should be used in contexts where the mount point data is expected not to contain
18  * required {@code ietf-yang-library} data, for example due to filtering.
19  */
20 @Beta
21 public interface StaticMountPointSchemaResolver extends MountPointSchemaResolver, SchemaContextProvider {
22     @Override
23     @NonNull SchemaContext getSchemaContext();
24 }