import org.opendaylight.yang.gen.v1.urn.sal.restconf.event.subscription.rev140708.NotificationOutputTypeGrouping.NotificationOutputType;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
import org.opendaylight.yangtools.yang.model.api.NotificationDefinition;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* type of output for onNotification - XML or JSON
* @return List of {@link NotificationListenerAdapter} by paths
*/
- public static List<NotificationListenerAdapter> createNotificationListener(final List<SchemaPath> paths,
+ public static List<NotificationListenerAdapter> createNotificationListener(final List<Absolute> paths,
final String streamName, final String outputType, final ControllerContext controllerContext) {
final List<NotificationListenerAdapter> listListeners = new ArrayList<>();
- for (final SchemaPath path : paths) {
+ for (final Absolute path : paths) {
final NotificationListenerAdapter listener =
new NotificationListenerAdapter(path, streamName, outputType, controllerContext);
listListeners.add(listener);