Delete netconf
[controller.git] / opendaylight / netconf / netconf-mapping-api / src / main / java / org / opendaylight / controller / netconf / mapping / api / NetconfOperationChainedExecution.java
diff --git a/opendaylight/netconf/netconf-mapping-api/src/main/java/org/opendaylight/controller/netconf/mapping/api/NetconfOperationChainedExecution.java b/opendaylight/netconf/netconf-mapping-api/src/main/java/org/opendaylight/controller/netconf/mapping/api/NetconfOperationChainedExecution.java
deleted file mode 100644 (file)
index e474422..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.netconf.mapping.api;
-
-import org.opendaylight.controller.config.util.xml.DocumentedException;
-import org.w3c.dom.Document;
-
-/**
- * Single link in netconf operation execution chain.
- * Wraps the execution of a single netconf operation.
- */
-public interface NetconfOperationChainedExecution {
-
-    /**
-     * @return true if this is termination point in operation execution, false
-     *         if there is a subsequent operation present that needs to be
-     *         executed
-     */
-    boolean isExecutionTermination();
-
-    /**
-     * Do not execute if this is termination point
-     */
-    Document execute(Document requestMessage) throws DocumentedException;
-
-    public static final NetconfOperationChainedExecution EXECUTION_TERMINATION_POINT = new NetconfOperationChainedExecution() {
-        @Override
-        public boolean isExecutionTermination() {
-            return true;
-        }
-
-        @Override
-        public Document execute(Document requestMessage) throws DocumentedException {
-            throw new IllegalStateException("This execution represents the termination point in operation execution and cannot be executed itself");
-        }
-    };
-
-
-}