Interface MountPointContext
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
@Beta public interface MountPointContext extends org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProviderA context of either an explicit (RFC8528 Schema Mount instance) or implicit (system root). It encapsulates a dataEffectiveModelContextand information resident inschema-mountswithin 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 aMountPointContextFactoryto resolve schemas for the purposes of interpreting this mount point.
-
-
-
Method Detail
-
findMountPoint
Optional<MountPointContextFactory> findMountPoint(@NonNull MountPointIdentifier label)
Attempt to acquire aMountPointContextFactoryto 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-pointstatement- Returns:
- An optional handler for mount point data
- Throws:
NullPointerException- if label is null
-
-