Sho SHIMIZU
Committed by Gerrit Code Review

ONOS-2298: Tag @Beta to resource request/allocation types

Change-Id: I03fd59a74b1ed16b452b51e098e98db3e6bc43f5
...@@ -15,9 +15,11 @@ ...@@ -15,9 +15,11 @@
15 */ 15 */
16 package org.onosproject.net.resource; 16 package org.onosproject.net.resource;
17 17
18 +import com.google.common.annotations.Beta;
19 +
18 /** 20 /**
19 * Abstraction of allocated resource. 21 * Abstraction of allocated resource.
20 */ 22 */
23 +@Beta
21 public interface ResourceAllocation extends ResourceRequest { 24 public interface ResourceAllocation extends ResourceRequest {
22 -
23 } 25 }
......
...@@ -15,9 +15,12 @@ ...@@ -15,9 +15,12 @@
15 */ 15 */
16 package org.onosproject.net.resource; 16 package org.onosproject.net.resource;
17 17
18 +import com.google.common.annotations.Beta;
19 +
18 /** 20 /**
19 * Exception thrown for resource allocation errors. 21 * Exception thrown for resource allocation errors.
20 */ 22 */
23 +@Beta
21 public class ResourceAllocationException extends ResourceException { 24 public class ResourceAllocationException extends ResourceException {
22 public ResourceAllocationException() { 25 public ResourceAllocationException() {
23 super(); 26 super();
......
...@@ -15,9 +15,12 @@ ...@@ -15,9 +15,12 @@
15 */ 15 */
16 package org.onosproject.net.resource; 16 package org.onosproject.net.resource;
17 17
18 +import com.google.common.annotations.Beta;
19 +
18 /** 20 /**
19 * Represents a resource related error. 21 * Represents a resource related error.
20 */ 22 */
23 +@Beta
21 public class ResourceException extends RuntimeException { 24 public class ResourceException extends RuntimeException {
22 25
23 /** 26 /**
......
...@@ -15,9 +15,11 @@ ...@@ -15,9 +15,11 @@
15 */ 15 */
16 package org.onosproject.net.resource; 16 package org.onosproject.net.resource;
17 17
18 +import com.google.common.annotations.Beta;
19 +
18 /** 20 /**
19 * Resource identifier. 21 * Resource identifier.
20 */ 22 */
23 +@Beta
21 public interface ResourceId { 24 public interface ResourceId {
22 -
23 } 25 }
......
...@@ -15,9 +15,12 @@ ...@@ -15,9 +15,12 @@
15 */ 15 */
16 package org.onosproject.net.resource; 16 package org.onosproject.net.resource;
17 17
18 +import com.google.common.annotations.Beta;
19 +
18 /** 20 /**
19 * Abstraction of resource request. 21 * Abstraction of resource request.
20 */ 22 */
23 +@Beta
21 public interface ResourceRequest { 24 public interface ResourceRequest {
22 /** 25 /**
23 * Returns the resource type. 26 * Returns the resource type.
......
...@@ -15,9 +15,12 @@ ...@@ -15,9 +15,12 @@
15 */ 15 */
16 package org.onosproject.net.resource; 16 package org.onosproject.net.resource;
17 17
18 +import com.google.common.annotations.Beta;
19 +
18 /** 20 /**
19 * Represents types for link resources. 21 * Represents types for link resources.
20 */ 22 */
23 +@Beta
21 public enum ResourceType { 24 public enum ResourceType {
22 /** 25 /**
23 * Lambda resource type. 26 * Lambda resource type.
......