BUG-2218: Keep existing link augmentations during discovery process
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / utils / INodeFactory.java
index 29ba7d6222537cf24f2c4c922aefdfbdeeb79609..1ccd04bedac69bd72201c4d6443170a9863a5df0 100644 (file)
@@ -12,9 +12,7 @@ package org.opendaylight.controller.sal.utils;
 import org.opendaylight.controller.sal.core.Node;
 
 /**
- * @file   INodeFactory.java
- *
- * @brief  Define the interface to be called when looking up custom node types
+ * This interface defines the methods to be called when looking up custom node types
  *
  */
 
@@ -22,6 +20,14 @@ public interface INodeFactory {
     /**
      * Method to get custom node types from protocol plugins
      *
+     * @param nodeType
+     *            {@Link org.opendaylight.controller.sal.core.Node} type
+     *            string
+     * @param nodeId
+     *            {@Link org.opendaylight.controller.sal.core.Node} ID
+     *            string
+     * @return the custom {@Link
+     *         org.opendaylight.controller.sal.core.Node}
      */
-    public Node fromString(String nodeId, String nodeType);
+    public Node fromString(String nodeType, String nodeId);
 }