use of org.opendaylight.yang.gen.v1.urn.opendaylight.meter.service.rev130918.MeterAddedBuilder in project openflowplugin by opendaylight.
the class MeterNotificationSupplierImpl method createNotification.
@Override
public MeterAdded createNotification(final Meter dataTreeItemObject, final InstanceIdentifier<Meter> path) {
Preconditions.checkArgument(dataTreeItemObject != null);
Preconditions.checkArgument(path != null);
final MeterAddedBuilder builder = new MeterAddedBuilder(dataTreeItemObject);
builder.setMeterRef(new MeterRef(path));
builder.setNode(createNodeRef(path));
return builder.build();
}
Aggregations