Sho SHIMIZU
Committed by Gerrit Code Review

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

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