package org.opendaylight.openflowplugin.api.openflow.mastership;
import com.google.common.util.concurrent.ListenableFuture;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
import org.opendaylight.openflowplugin.api.openflow.lifecycle.OwnershipChangeListener;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.rf.state.rev170713.ResultState;
* <li><i>{@link #onDevicePrepared(DeviceInfo)}</i>
* is called when device is disconnected or controller loses control of the switch</li>
* </ul>
- * <p>
- * <b>This event <i>onDevicePrepared</i> should be used only for reconciliation framework and application can't do anything with
- * node before the device is not stored in to data store.</b>
+ * <b>This event <i>onDevicePrepared</i> should be used only for reconciliation framework
+ * and application can't do anything with node before the device is not stored in to data store.</b>
* @since 0.5.0 Nitrogen
*/
* @param deviceInfo connected switch identification
* @return result state if the device can continue with connecting or should be disconnected
*/
- ListenableFuture<ResultState> onDevicePrepared(@Nonnull DeviceInfo deviceInfo);
+ ListenableFuture<ResultState> onDevicePrepared(@NonNull DeviceInfo deviceInfo);
/**
* This event occurs after device is disconnected or being slaved.
* @return future
* @see MastershipChangeService
*/
- ListenableFuture<Void> onDeviceDisconnected(@Nonnull DeviceInfo deviceInfo);
+ ListenableFuture<Void> onDeviceDisconnected(@NonNull DeviceInfo deviceInfo);
}