fix some compilation warnings
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / openroadminterfaces / OpenRoadmInterfaces.java
index b553a422f2622c7ad1c6a231bc5760e55fb746f2..dc3821652d04c22812816a94f5fe802ea3515619 100644 (file)
@@ -25,8 +25,12 @@ public interface OpenRoadmInterfaces {
      * 2. If exists then admin state of interface is outOfState/Maintenance
      * </p>
      *
+     * @param nodeId node ID
+     *
      * @param ifBuilder Builder object containing the data to post.
      *
+     * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
+     *
      */
     void postInterface(String nodeId, InterfaceBuilder ifBuilder) throws OpenRoadmInterfaceException;
 
@@ -35,10 +39,14 @@ public interface OpenRoadmInterfaces {
      * interface name as the key and return the class corresponding to the interface
      * type.
      *
+     * @param nodeId node ID
+     *
      * @param interfaceName
      *            Name of the interface
      *
      * @return Optional of Interface from datastore
+     *
+     * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
      */
     Optional<Interface> getInterface(String nodeId, String interfaceName) throws OpenRoadmInterfaceException;
 
@@ -52,8 +60,12 @@ public interface OpenRoadmInterfaces {
      * 2. If exists then changes the state of interface to outOfService
      * </p>
      *
+     * @param nodeId node ID
+     *
      * @param interfaceName
      *            Name of the interface to delete.
+     *
+     * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
      */
     void deleteInterface(String nodeId, String interfaceName) throws OpenRoadmInterfaceException;