Replace SchemaPath with SchemaNodeIdentifier.Absolute/QName
[mdsal.git] / dom / mdsal-dom-api / src / main / java / org / opendaylight / mdsal / dom / api / DOMActionImplementation.java
index 3583247046ee9651b67af2709bdff8b91cc5d9c7..568f424eee0d1eb4571f5eaae4fcea6fecb33afb 100644 (file)
@@ -12,7 +12,7 @@ import com.google.common.util.concurrent.ListenableFuture;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
 import org.opendaylight.yangtools.yang.data.api.schema.tree.StoreTreeNode;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute;
 
 /**
  * Interface implemented by an individual operation implementation. This API allows for dispatch implementations, e.g.
@@ -27,14 +27,14 @@ public interface DOMActionImplementation {
     /**
      * Initiate invocation of the action. Implementations of this method are expected to not block.
      *
-     * @param type SchemaPath of the action to be invoked. This path refers to an effective action instantiated on top
-     *             of the conceptual {@link StoreTreeNode}.
+     * @param type absolute schema node identifier of the action to be invoked. This path refers to an effective action
+     *             instantiated on top of the conceptual {@link StoreTreeNode}.
      * @param path {@link DOMDataTreeIdentifier} of parent data node which action attached to.
      * @param input Input arguments
      * @return A FluentFuture which completes with the result of invocation
      * @throws NullPointerException if any of the arguments is null
      */
-    ListenableFuture<? extends DOMActionResult> invokeAction(SchemaPath type, DOMDataTreeIdentifier path,
+    ListenableFuture<? extends DOMActionResult> invokeAction(Absolute type, DOMDataTreeIdentifier path,
             ContainerNode input);
 
     /**