Search in sources :

Example 1 with GroupAddedBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupAddedBuilder in project openflowplugin by opendaylight.

the class GroupNotificationSupplierImpl method createNotification.

@Override
public GroupAdded createNotification(final Group dataTreeItemObject, final InstanceIdentifier<Group> path) {
    Preconditions.checkArgument(dataTreeItemObject != null);
    Preconditions.checkArgument(path != null);
    final GroupAddedBuilder builder = new GroupAddedBuilder(dataTreeItemObject);
    builder.setGroupRef(new GroupRef(path));
    builder.setNode(createNodeRef(path));
    return builder.build();
}
Also used : GroupRef(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.GroupRef) GroupAddedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupAddedBuilder)

Aggregations

GroupAddedBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupAddedBuilder)1 GroupRef (org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.GroupRef)1