Committed by
Gerrit Code Review
Added @Beta annotations to the network configuration API.
Change-Id: I6b0e4f2064509a26e546735baef087e621ad8307
Showing
6 changed files
with
17 additions
and
2 deletions
... | @@ -17,6 +17,7 @@ package org.onosproject.incubator.net.config; | ... | @@ -17,6 +17,7 @@ package org.onosproject.incubator.net.config; |
17 | 17 | ||
18 | import com.fasterxml.jackson.databind.ObjectMapper; | 18 | import com.fasterxml.jackson.databind.ObjectMapper; |
19 | import com.fasterxml.jackson.databind.node.ObjectNode; | 19 | import com.fasterxml.jackson.databind.node.ObjectNode; |
20 | +import com.google.common.annotations.Beta; | ||
20 | 21 | ||
21 | import static com.google.common.base.Preconditions.checkNotNull; | 22 | import static com.google.common.base.Preconditions.checkNotNull; |
22 | 23 | ||
... | @@ -26,6 +27,7 @@ import static com.google.common.base.Preconditions.checkNotNull; | ... | @@ -26,6 +27,7 @@ import static com.google.common.base.Preconditions.checkNotNull; |
26 | * | 27 | * |
27 | * @param <S> type of subject | 28 | * @param <S> type of subject |
28 | */ | 29 | */ |
30 | +@Beta | ||
29 | public abstract class Config<S> { | 31 | public abstract class Config<S> { |
30 | 32 | ||
31 | protected ObjectMapper mapper; | 33 | protected ObjectMapper mapper; | ... | ... |
... | @@ -15,9 +15,12 @@ | ... | @@ -15,9 +15,12 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.incubator.net.config; | 16 | package org.onosproject.incubator.net.config; |
17 | 17 | ||
18 | +import com.google.common.annotations.Beta; | ||
19 | + | ||
18 | /** | 20 | /** |
19 | * Delegate for notification when configuration changes have been applied. | 21 | * Delegate for notification when configuration changes have been applied. |
20 | */ | 22 | */ |
23 | +@Beta | ||
21 | public interface ConfigApplyDelegate<S> { | 24 | public interface ConfigApplyDelegate<S> { |
22 | 25 | ||
23 | /** | 26 | /** | ... | ... |
... | @@ -16,11 +16,14 @@ | ... | @@ -16,11 +16,14 @@ |
16 | package org.onosproject.incubator.net.config; | 16 | package org.onosproject.incubator.net.config; |
17 | 17 | ||
18 | 18 | ||
19 | +import com.google.common.annotations.Beta; | ||
20 | + | ||
19 | /** | 21 | /** |
20 | * Base abstract factory for creating configurations for the specified subject type. | 22 | * Base abstract factory for creating configurations for the specified subject type. |
21 | * | 23 | * |
22 | * @param <S> subject class | 24 | * @param <S> subject class |
23 | */ | 25 | */ |
26 | +@Beta | ||
24 | public abstract class ConfigFactory<S> { | 27 | public abstract class ConfigFactory<S> { |
25 | 28 | ||
26 | private final Class<S> subjectClass; | 29 | private final Class<S> subjectClass; | ... | ... |
... | @@ -15,11 +15,14 @@ | ... | @@ -15,11 +15,14 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.incubator.net.config; | 16 | package org.onosproject.incubator.net.config; |
17 | 17 | ||
18 | +import com.google.common.annotations.Beta; | ||
19 | + | ||
18 | import java.util.Set; | 20 | import java.util.Set; |
19 | 21 | ||
20 | /** | 22 | /** |
21 | * Service for tracking network configuration factories. | 23 | * Service for tracking network configuration factories. |
22 | */ | 24 | */ |
25 | +@Beta | ||
23 | public interface NetworkConfigRegistry { | 26 | public interface NetworkConfigRegistry { |
24 | 27 | ||
25 | /** | 28 | /** | ... | ... |
... | @@ -15,13 +15,16 @@ | ... | @@ -15,13 +15,16 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.incubator.net.config; | 16 | package org.onosproject.incubator.net.config; |
17 | 17 | ||
18 | +import com.google.common.annotations.Beta; | ||
19 | + | ||
18 | import java.util.Set; | 20 | import java.util.Set; |
19 | 21 | ||
20 | /** | 22 | /** |
21 | * Service for tracking network configurations which specify how the discovered | 23 | * Service for tracking network configurations which specify how the discovered |
22 | - * network information should be interpretted and how the network should be | 24 | + * network information should be interpreted and how the network should be |
23 | * configured. | 25 | * configured. |
24 | */ | 26 | */ |
27 | +@Beta | ||
25 | public interface NetworkConfigService { | 28 | public interface NetworkConfigService { |
26 | 29 | ||
27 | /** | 30 | /** | ... | ... |
... | @@ -15,6 +15,7 @@ | ... | @@ -15,6 +15,7 @@ |
15 | */ | 15 | */ |
16 | 16 | ||
17 | /** | 17 | /** |
18 | - * Incubating abstractions and APIs. | 18 | + * Incubating abstractions and APIs. This subsystem is |
19 | + * experimental and its interfaces will change in the upcoming release. | ||
19 | */ | 20 | */ |
20 | package org.onosproject.incubator; | 21 | package org.onosproject.incubator; |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment