| Package | Description |
|---|---|
| org.yamcs |
| Modifier and Type | Method and Description |
|---|---|
static YConfiguration |
YConfiguration.emptyConfig() |
YConfiguration |
YConfiguration.getConfig(String key)
If the key is pointing to a map, creates and returns a configuration object out of that map
The returned object will have its parent set to this object
|
static YConfiguration |
YConfiguration.getConfiguration(String subsystem)
Loads (if not already loaded) and returns a configuration corresponding to a file <subsystem>.yaml
This method does not reload the configuration file if it has changed.
|
static YConfiguration |
YConfiguration.getConfiguration(String subsystem,
boolean reload)
Loads and returns a configuration corresponding to a file <subsystem>.yaml
This method reloads the configuration file always.
|
static YConfiguration |
YConfiguration.wrap(Map<String,Object> m)
Create a new configuration wrapping around a map The resulting config will have no parent
|
| Modifier and Type | Method and Description |
|---|---|
List<YConfiguration> |
YConfiguration.getConfigList(String key) |
List<YConfiguration> |
YConfiguration.getServiceConfigList(String key)
This is the same like the method above but will create a {class: "string"} for strings rather than throwing an
exception.
|
| Constructor and Description |
|---|
ConfigurationException(YConfiguration config,
String message) |
YConfiguration(YConfiguration parent,
String parentKey,
Map<String,Object> root) |
Copyright © 2019 Space Applications Services. All rights reserved.