Reduce number of paramaters for PCEP Dispatcher
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / PCEPSessionState.java
index d0b93f663038355cfa1133927f183dd2183544fe..449b6dfc2890f3d049e05d028e2b8a45b74077ae 100644 (file)
@@ -7,32 +7,33 @@
  */
 package org.opendaylight.protocol.pcep;
 
+import javax.annotation.Nonnull;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.LocalPref;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.Messages;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerPref;
 
 /**
- * Exposes Session state
+ * Exposes Session state.
  */
 public interface PCEPSessionState {
     /**
      * The statistics of PCEP received/sent messages from the PCE point of view.
      *
-     * @return <code>org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.stats.rev171113.pcep.session.state.Messages</code> <code>messages</code>, or <code>null</code> if not present
+     * @return messages
      */
-    Messages getMessages();
+    @Nonnull Messages getMessages();
 
     /**
      * The local (PCE) preferences.
      *
-     * @return <code>org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.stats.rev171113.pcep.session.state.LocalPref</code> <code>localPref</code>, or <code>null</code> if not present
+     * @return local preferences
      */
-    LocalPref getLocalPref();
+    @Nonnull LocalPref getLocalPref();
 
     /**
      * The remote peer (PCC) preferences.
      *
-     * @return <code>org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.stats.rev171113.pcep.session.state.PeerPref</code> <code>peerPref</code>, or <code>null</code> if not present
+     * @return peer preferences
      */
-    PeerPref getPeerPref();
+    @Nonnull PeerPref getPeerPref();
 }