Class DataChangesManagedByOvsdbNodeEvent
- java.lang.Object
-
- org.opendaylight.ovsdb.southbound.ovsdb.transact.DataChangesManagedByOvsdbNodeEvent
-
- All Implemented Interfaces:
DataChangeEvent
public class DataChangesManagedByOvsdbNodeEvent extends Object implements DataChangeEvent
-
-
Constructor Summary
Constructors Constructor Description DataChangesManagedByOvsdbNodeEvent(org.opendaylight.controller.md.sal.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.controller.md.sal.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 interfaceDataChangeEvent
- 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 interfaceDataChangeEvent
- 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 interfaceDataChangeEvent
- 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 interfaceDataChangeEvent
- Returns:
- map of paths and original state of updated and removed objects.
-
-