Interface MountPointContextFactory
-
@Beta @NonNullByDefault public interface MountPointContextFactoryAn entity able to resolve the SchemaContext for embedded mount points based on generic data provided by the current interpretation context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MountPointContextcreateContext(Map<YangLibraryConstants.ContainerName,MountPointChild> libraryContainers, @Nullable MountPointChild schemaMounts)Create a mount point context based on available information.
-
-
-
Method Detail
-
createContext
MountPointContext createContext(Map<YangLibraryConstants.ContainerName,MountPointChild> libraryContainers, @Nullable MountPointChild schemaMounts) throws org.opendaylight.yangtools.yang.model.parser.api.YangParserException
Create a mount point context based on available information. Implementations are expected to attempt to interpret provided data to their best of their ability.- Parameters:
libraryContainers- available YANG library containers in opaque formatschemaMounts- the content of 'schema-mounts' container, if available- Returns:
- A
MountPointContext - Throws:
org.opendaylight.yangtools.yang.model.parser.api.YangParserException- if the schema cannot be assembled
-
-