Convert neutron service base classes to unix line delimiters.
[controller.git] / opendaylight / networkconfiguration / neutron / src / main / java / org / opendaylight / controller / networkconfig / neutron / INeutronPortAware.java
index 36ed4ffb39ec12f82bb0cf38e1ab1bb7f813532e..3f40ba3879a84a2b8aa517f0baad66e2cf0c1672 100644 (file)
@@ -1,83 +1,83 @@
-/*\r
- * Copyright IBM Corporation, 2013.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.controller.networkconfig.neutron;\r
-\r
-/**\r
- * This interface defines the methods a service that wishes to be aware of Neutron Ports needs to implement\r
- *\r
- */\r
-\r
-public interface INeutronPortAware {\r
-\r
-    /**\r
-     * Services provide this interface method to indicate if the specified port can be created\r
-     *\r
-     * @param port\r
-     *            instance of proposed new Neutron Port object\r
-     * @return integer\r
-     *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299\r
-     *            results in the create operation being interrupted and the returned status value reflected in the\r
-     *            HTTP response.\r
-     */\r
-    public int canCreatePort(NeutronPort port);\r
-\r
-    /**\r
-     * Services provide this interface method for taking action after a port has been created\r
-     *\r
-     * @param port\r
-     *            instance of new Neutron Port object\r
-     * @return void\r
-     */\r
-    public void neutronPortCreated(NeutronPort port);\r
-\r
-    /**\r
-     * Services provide this interface method to indicate if the specified port can be changed using the specified\r
-     * delta\r
-     *\r
-     * @param delta\r
-     *            updates to the port object using patch semantics\r
-     * @param port\r
-     *            instance of the Neutron Port object to be updated\r
-     * @return integer\r
-     *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299\r
-     *            results in the update operation being interrupted and the returned status value reflected in the\r
-     *            HTTP response.\r
-     */\r
-    public int canUpdatePort(NeutronPort delta, NeutronPort original);\r
-\r
-    /**\r
-     * Services provide this interface method for taking action after a port has been updated\r
-     *\r
-     * @param port\r
-     *            instance of modified Neutron Port object\r
-     * @return void\r
-     */\r
-    public void neutronPortUpdated(NeutronPort port);\r
-\r
-    /**\r
-     * Services provide this interface method to indicate if the specified port can be deleted\r
-     *\r
-     * @param port\r
-     *            instance of the Neutron Port object to be deleted\r
-     * @return integer\r
-     *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299\r
-     *            results in the delete operation being interrupted and the returned status value reflected in the\r
-     *            HTTP response.\r
-     */\r
-    public int canDeletePort(NeutronPort port);\r
-\r
-    /**\r
-     * Services provide this interface method for taking action after a port has been deleted\r
-     *\r
-     * @param port\r
-     *            instance of deleted Port Network object\r
-     * @return void\r
-     */\r
-    public void neutronPortDeleted(NeutronPort port);\r
-}\r
+/*
+ * Copyright IBM Corporation, 2013.  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.networkconfig.neutron;
+
+/**
+ * This interface defines the methods a service that wishes to be aware of Neutron Ports needs to implement
+ *
+ */
+
+public interface INeutronPortAware {
+
+    /**
+     * Services provide this interface method to indicate if the specified port can be created
+     *
+     * @param port
+     *            instance of proposed new Neutron Port object
+     * @return integer
+     *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299
+     *            results in the create operation being interrupted and the returned status value reflected in the
+     *            HTTP response.
+     */
+    public int canCreatePort(NeutronPort port);
+
+    /**
+     * Services provide this interface method for taking action after a port has been created
+     *
+     * @param port
+     *            instance of new Neutron Port object
+     * @return void
+     */
+    public void neutronPortCreated(NeutronPort port);
+
+    /**
+     * Services provide this interface method to indicate if the specified port can be changed using the specified
+     * delta
+     *
+     * @param delta
+     *            updates to the port object using patch semantics
+     * @param port
+     *            instance of the Neutron Port object to be updated
+     * @return integer
+     *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299
+     *            results in the update operation being interrupted and the returned status value reflected in the
+     *            HTTP response.
+     */
+    public int canUpdatePort(NeutronPort delta, NeutronPort original);
+
+    /**
+     * Services provide this interface method for taking action after a port has been updated
+     *
+     * @param port
+     *            instance of modified Neutron Port object
+     * @return void
+     */
+    public void neutronPortUpdated(NeutronPort port);
+
+    /**
+     * Services provide this interface method to indicate if the specified port can be deleted
+     *
+     * @param port
+     *            instance of the Neutron Port object to be deleted
+     * @return integer
+     *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299
+     *            results in the delete operation being interrupted and the returned status value reflected in the
+     *            HTTP response.
+     */
+    public int canDeletePort(NeutronPort port);
+
+    /**
+     * Services provide this interface method for taking action after a port has been deleted
+     *
+     * @param port
+     *            instance of deleted Port Network object
+     * @return void
+     */
+    public void neutronPortDeleted(NeutronPort port);
+}