Move FIXMEs out to 6.0.0
[mdsal.git] / binding / mdsal-binding-api / src / main / java / org / opendaylight / mdsal / binding / api / TransactionChainListener.java
index 515dcb75ae78ba3fcf978385b043de183e46d1b5..26c494590fa81d0f722d10b7b5ddc0b6ac5dd68e 100644 (file)
@@ -8,11 +8,12 @@
 package org.opendaylight.mdsal.binding.api;
 
 import java.util.EventListener;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Listener for transaction chain events.
  */
-// FIXME: 4.0.0: remove this in favor of a TransactionChain destiny, available as a FluentFuture from TransactionChain
+// FIXME: 6.0.0: remove this in favor of a TransactionChain destiny, available as a FluentFuture from TransactionChain
 public interface TransactionChainListener extends EventListener {
     /**
      * Invoked if when a transaction in the chain fails. All transactions submitted after the failed transaction, in the
@@ -24,7 +25,8 @@ public interface TransactionChainListener extends EventListener {
      * @param transaction Transaction which caused the chain to fail
      * @param cause The cause of transaction failure
      */
-    void onTransactionChainFailed(TransactionChain chain, Transaction transaction, Throwable cause);
+    void onTransactionChainFailed(@NonNull TransactionChain chain, @NonNull Transaction transaction,
+            @NonNull Throwable cause);
 
     /**
      * Invoked when a transaction chain is completed. A transaction chain is considered completed when it has been
@@ -32,6 +34,6 @@ public interface TransactionChainListener extends EventListener {
      *
      * @param chain Transaction chain which completed
      */
-    void onTransactionChainSuccessful(TransactionChain chain);
+    void onTransactionChainSuccessful(@NonNull TransactionChain chain);
 }