Minor checkstyle corrections
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / listeners / TcaListener.java
1 /*
2  * Copyright © 2017 AT&T and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.transportpce.renderer.listeners;
10
11 import org.opendaylight.yang.gen.v1.http.org.openroadm.tca.rev161014.OrgOpenroadmTcaListener;
12 import org.opendaylight.yang.gen.v1.http.org.openroadm.tca.rev161014.TcaNotification;
13 import org.slf4j.Logger;
14 import org.slf4j.LoggerFactory;
15
16 public class TcaListener implements OrgOpenroadmTcaListener {
17
18     private static final Logger LOG = LoggerFactory.getLogger(OrgOpenroadmTcaListener.class);
19
20     /**
21      * Callback for tca-notification.
22      *
23      * @param notification TcaNotification object
24      */
25     @Override
26     public void onTcaNotification(TcaNotification notification) {
27         LOG.info("Notification {} received {}", TcaNotification.QNAME, notification);
28     }
29 }