Class DataChangesManagedByOvsdbNodeEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      DataChangesManagedByOvsdbNodeEvent​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, DataChangeEvent event)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.yangtools.yang.binding.DataObject> getCreatedData()
      Returns a map of paths and newly created objects, which were introduced by this change into conceptual data tree, if no new objects were introduced this map will be empty.
      Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.yangtools.yang.binding.DataObject> getOriginalData()
      Returns an immutable map of updated or removed paths and their original states prior to this change.
      Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>> getRemovedPaths()
      Returns an immutable set of removed paths.
      Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.yangtools.yang.binding.DataObject> getUpdatedData()
      Returns a map of paths and objects which were updated by this change in the conceptual data tree if no existing objects were updated this map will be empty.
    • Constructor Detail

      • DataChangesManagedByOvsdbNodeEvent

        public DataChangesManagedByOvsdbNodeEvent​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                                  org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid,
                                                  DataChangeEvent event)
    • Method Detail

      • getCreatedData

        public Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.yangtools.yang.binding.DataObject> getCreatedData()
        Description copied from interface: DataChangeEvent
        Returns a map of paths and newly created objects, which were introduced by this change into conceptual data tree, if no new objects were introduced this map will be empty.
        Specified by:
        getCreatedData in interface DataChangeEvent
        Returns:
        map of paths and newly created objects
      • getUpdatedData

        public Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.yangtools.yang.binding.DataObject> getUpdatedData()
        Description copied from interface: DataChangeEvent
        Returns a map of paths and objects which were updated by this change in the conceptual data tree if no existing objects were updated this map will be empty.
        Specified by:
        getUpdatedData in interface DataChangeEvent
        Returns:
        map of paths and newly created objects
      • getRemovedPaths

        public Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>> getRemovedPaths()
        Description copied from interface: DataChangeEvent
        Returns an immutable set of removed paths.
        Specified by:
        getRemovedPaths in interface DataChangeEvent
        Returns:
        set of removed paths
      • getOriginalData

        public Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.yangtools.yang.binding.DataObject> getOriginalData()
        Description copied from interface: DataChangeEvent
        Returns an immutable map of updated or removed paths and their original states prior to this change.
        Specified by:
        getOriginalData in interface DataChangeEvent
        Returns:
        map of paths and original state of updated and removed objects.