Class EmptyMountPointContext
- java.lang.Object
-
- org.opendaylight.yangtools.yang.model.util.AbstractEffectiveModelContextProvider
-
- org.opendaylight.yangtools.rcf8528.data.util.EmptyMountPointContext
-
- All Implemented Interfaces:
MountPointContext
,EffectiveModelContextProvider
,SchemaContextProvider
@Beta public final class EmptyMountPointContext extends AbstractEffectiveModelContextProvider implements MountPointContext
A simpleMountPointContext
which does not contain any mount points.
-
-
Constructor Summary
Constructors Constructor Description EmptyMountPointContext(EffectiveModelContext modelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<MountPointContextFactory>
findMountPoint(MountPointIdentifier label)
Attempt to acquire aMountPointContextFactory
to resolve schemas for the purposes of interpreting this mount point.-
Methods inherited from class org.opendaylight.yangtools.yang.model.util.AbstractEffectiveModelContextProvider
addToStringAttributes, getEffectiveModelContext, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext, getSchemaContext
-
-
-
-
Constructor Detail
-
EmptyMountPointContext
public EmptyMountPointContext(EffectiveModelContext modelContext)
-
-
Method Detail
-
findMountPoint
public Optional<MountPointContextFactory> findMountPoint(MountPointIdentifier label)
Description copied from interface:MountPointContext
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.- Specified by:
findMountPoint
in interfaceMountPointContext
- Parameters:
label
- Mount point label, as defined via the use ofmount-point
statement- Returns:
- An optional handler for mount point data
-
-