Interface MountPointContext
- All Superinterfaces:
EffectiveModelContextProvider
A context of either an explicit (RFC8528 Schema Mount instance) or implicit (system root). It encapsulates a data
EffectiveModelContext
and information resident in
schema-mounts
within this hierarchy.
This context exposed enough of an API surface to navigate RFC8528 Schema Mount instaces with respect to normalized,
so that proper MountPointLabel
ed NormalizedMountPoint
s can be created. This is enough to integrate
with other elements of this API.
-
Method Summary
Modifier and TypeMethodDescriptionfindMountPoint
(@NonNull MountPointLabel label) Attempt to acquire aMountPointContextFactory
to resolve schemas for the purposes of interpreting this mount point.static @NonNull MountPointContext
of
(@NonNull EffectiveModelContext modelContext) Return an emptyMountPointContext
with the specifiedEffectiveModelContext
.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext
-
Method Details
-
findMountPoint
Attempt to acquire aMountPointContextFactory
to resolve schemas for the purposes of interpreting this mount point. An empty result indicates the mount point is not attached.- Parameters:
label
- Mount point label, as defined via the use ofmount-point
statement- Returns:
- An optional handler for mount point data
- Throws:
NullPointerException
- if label is null
-
of
Return an emptyMountPointContext
with the specifiedEffectiveModelContext
.- Parameters:
modelContext
- BackingEffectiveModelContext
- Returns:
- A
MountPointContext
containing noMountPointContextFactory
.
-