yang model revise: neutron.yang
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronMeteringLabelAware.java
index 224f9f80305cc6d9cf5b2a4f0f393136d15d4c0c..681c5e3d6d99475f968e4675325eb7b5f8bf84b1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright IBM Corporation, 2015.  All rights reserved.
+ * Copyright (c) 2015 IBM Corporation 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,
@@ -12,7 +12,7 @@ package org.opendaylight.neutron.spi;
  * This interface defines the methods a service that wishes to be aware of Neutron Metering Labels needs to implement
  *
  */
-
+@Deprecated
 public interface INeutronMeteringLabelAware {
 
     /**
@@ -25,7 +25,7 @@ public interface INeutronMeteringLabelAware {
      *            results in the create operation being interrupted and the returned status value reflected in the
      *            HTTP response.
      */
-    public int canCreateMeteringLabel(NeutronMeteringLabel meteringLabel);
+    int canCreateMeteringLabel(NeutronMeteringLabel meteringLabel);
 
     /**
      * Services provide this interface method for taking action after a network has been created
@@ -33,7 +33,7 @@ public interface INeutronMeteringLabelAware {
      * @param meteringLabel
      *            instance of new Neutron Metering Label object
      */
-    public void neutronMeteringLabelCreated(NeutronMeteringLabel meteringLabel);
+    void neutronMeteringLabelCreated(NeutronMeteringLabel meteringLabel);
 
     /**
      * Services provide this interface method to indicate if the specified
@@ -46,7 +46,7 @@ public interface INeutronMeteringLabelAware {
      *            results in the delete operation being interrupted and the returned status value reflected in the
      *            HTTP response.
      */
-    public int canDeleteMeteringLabel(NeutronMeteringLabel meteringLabel);
+    int canDeleteMeteringLabel(NeutronMeteringLabel meteringLabel);
 
     /**
      * Services provide this interface method for taking action after a network has been deleted
@@ -54,5 +54,5 @@ public interface INeutronMeteringLabelAware {
      * @param meteringLabel
      *            instance of deleted Neutron Metering Label object
      */
-    public void neutronMeteringLabelDeleted(NeutronMeteringLabel meteringLabel);
+    void neutronMeteringLabelDeleted(NeutronMeteringLabel meteringLabel);
 }