| Package | Description |
|---|---|
| org.onosproject.cfg |
Set of abstractions for centrally managing component configurations.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigProperty |
ConfigProperty.defineProperty(String name,
ConfigProperty.Type type,
String defaultValue,
String description)
Creates a new configuration property with its default value.
|
static ConfigProperty |
ConfigProperty.resetProperty(ConfigProperty property)
Creates a new configuration property as a copy of an existing one, but
without a specific value, thus making it take its default value.
|
static ConfigProperty |
ConfigProperty.setProperty(ConfigProperty property,
String newValue)
Creates a new configuration property as a copy of an existing one, but
with a new value.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ConfigProperty> |
ComponentConfigService.getProperties(String componentName)
Returns configuration properties of the named components.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigProperty |
ConfigProperty.resetProperty(ConfigProperty property)
Creates a new configuration property as a copy of an existing one, but
without a specific value, thus making it take its default value.
|
static ConfigProperty |
ConfigProperty.setProperty(ConfigProperty property,
String newValue)
Creates a new configuration property as a copy of an existing one, but
with a new value.
|
Copyright © 2015. All rights reserved.