Interface MountPointContext
-
- All Superinterfaces:
EffectiveModelContextProvider
- All Known Implementing Classes:
EmptyMountPointContext
@Beta public interface MountPointContext extends EffectiveModelContextProvider
A context of either an explicit (RFC8528 Schema Mount instance) or implicit (system root). It encapsulates a dataEffectiveModelContext
and information resident inschema-mounts
within this hierarchy.Note this interface should be part of yang-data-api, as it really defines how a NormalizedNode-containerized data operates w.r.t. mount points. Further evolution is expected.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<MountPointContextFactory>
findMountPoint(@NonNull MountPointIdentifier label)
Attempt to acquire aMountPointContextFactory
to resolve schemas for the purposes of interpreting this mount point.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext
-
-
-
-
Method Detail
-
findMountPoint
Optional<MountPointContextFactory> findMountPoint(@NonNull MountPointIdentifier label)
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
-
-