Added @Beta annotations to the network configuration API.

Change-Id: I6b0e4f2064509a26e546735baef087e621ad8307
This commit is contained in:
Thomas Vachuska 2015-05-20 11:11:31 -07:00 committed by Gerrit Code Review
parent a9d491eed6
commit e2b7e7eef9
6 changed files with 17 additions and 2 deletions

View File

@ -17,6 +17,7 @@ package org.onosproject.incubator.net.config;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.ObjectNode;
import com.google.common.annotations.Beta;
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkNotNull;
@ -26,6 +27,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
* *
* @param <S> type of subject * @param <S> type of subject
*/ */
@Beta
public abstract class Config<S> { public abstract class Config<S> {
protected ObjectMapper mapper; protected ObjectMapper mapper;

View File

@ -15,9 +15,12 @@
*/ */
package org.onosproject.incubator.net.config; package org.onosproject.incubator.net.config;
import com.google.common.annotations.Beta;
/** /**
* Delegate for notification when configuration changes have been applied. * Delegate for notification when configuration changes have been applied.
*/ */
@Beta
public interface ConfigApplyDelegate<S> { public interface ConfigApplyDelegate<S> {
/** /**

View File

@ -16,11 +16,14 @@
package org.onosproject.incubator.net.config; package org.onosproject.incubator.net.config;
import com.google.common.annotations.Beta;
/** /**
* Base abstract factory for creating configurations for the specified subject type. * Base abstract factory for creating configurations for the specified subject type.
* *
* @param <S> subject class * @param <S> subject class
*/ */
@Beta
public abstract class ConfigFactory<S> { public abstract class ConfigFactory<S> {
private final Class<S> subjectClass; private final Class<S> subjectClass;

View File

@ -15,11 +15,14 @@
*/ */
package org.onosproject.incubator.net.config; package org.onosproject.incubator.net.config;
import com.google.common.annotations.Beta;
import java.util.Set; import java.util.Set;
/** /**
* Service for tracking network configuration factories. * Service for tracking network configuration factories.
*/ */
@Beta
public interface NetworkConfigRegistry { public interface NetworkConfigRegistry {
/** /**

View File

@ -15,13 +15,16 @@
*/ */
package org.onosproject.incubator.net.config; package org.onosproject.incubator.net.config;
import com.google.common.annotations.Beta;
import java.util.Set; import java.util.Set;
/** /**
* Service for tracking network configurations which specify how the discovered * Service for tracking network configurations which specify how the discovered
* network information should be interpretted and how the network should be * network information should be interpreted and how the network should be
* configured. * configured.
*/ */
@Beta
public interface NetworkConfigService { public interface NetworkConfigService {
/** /**

View File

@ -15,6 +15,7 @@
*/ */
/** /**
* Incubating abstractions and APIs. * Incubating abstractions and APIs.&nbsp; This subsystem is
* experimental and its interfaces will change in the upcoming release.
*/ */
package org.onosproject.incubator; package org.onosproject.incubator;