Interface NotificationNodeContainer
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
,AugmentationSchemaNode
,ContainerLike
,ContainerSchemaNode
,EffectiveModelContext
,EffectiveStatementMixins.NotificationNodeContainerMixin<A,
,D> EffectiveStatementMixins.OperationContainerMixin<D>
,GroupingDefinition
,InputSchemaNode
,ListSchemaNode
,Module
,ModuleLike
,NotificationNodeContainerCompat<A,
,D, E> OutputSchemaNode
,SchemaContext
,Submodule
- All Known Implementing Classes:
AbstractContainerEffectiveStatement
,AbstractEffectiveModule
,AbstractGroupingEffectiveStatement
,AbstractSchemaContext
,AugmentEffectiveStatementImpl
,ContainerLikeCompat
,DeclaredInputEffectiveStatement
,DeclaredOutputEffectiveStatement
,EffectiveSchemaContext
,EmptyContainerEffectiveStatement
,EmptyGroupingEffectiveStatement
,EmptyListEffectiveStatement
,FilteringSchemaContextProxy
,RegularContainerEffectiveStatement
,RegularGroupingEffectiveStatement
,RegularListEffectiveStatement
,SimpleSchemaContext
,UndeclaredInputEffectiveStatement
,UndeclaredOutputEffectiveStatement
public interface NotificationNodeContainer
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional
<NotificationDefinition> findNotification
(QName qname) Find a notification based on its QName.@NonNull Collection
<? extends @NonNull NotificationDefinition> Return the set of notifications in this container, keyed by QName.
-
Method Details
-
getNotifications
@NonNull Collection<? extends @NonNull NotificationDefinition> getNotifications()Return the set of notifications in this container, keyed by QName. RFC7950 specifies thatAugmentationSchemaNode
s,GroupingDefinition
s,ListSchemaNode
s andContainerSchemaNode
s can also containNotificationDefinition
s.- Returns:
- set of notification nodes
-
findNotification
Find a notification based on its QName. Default implementation searches the set returned bygetNotifications()
.- Parameters:
qname
- Notification QName- Returns:
- Notification definition, if found
- Throws:
NullPointerException
- if qname is null
-