Package org.yamcs

Class YConfiguration


public class YConfiguration extends Object
A configuration object is a wrapper around a Map&ltString, Object&gt which keeps track to a parent and its original file (if any). This class loads yamcs configurations. There are a number of "subsystems", each using a corresponding subsystem.yaml file Configuration files are looked up in this order:
  1. in the prefix/file.yaml via the classpath if the prefix is set in the setup method (used in the unittests)
  2. in the userConfigDirectory .yamcs/etc/file.yaml
  3. in the file.yaml via the classpath..