Uses of Class
org.yamcs.ConfigurationException
-
-
Uses of ConfigurationException in org.yamcs
Subclasses of ConfigurationException in org.yamcs Modifier and Type Class Description static classYConfiguration.ConfigurationNotFoundExceptionIntroduced to be able to detect when a configuration file was not specified (as opposed to when there's a validation error inside).Methods in org.yamcs that throw ConfigurationException Modifier and Type Method Description booleanYConfiguration. containsKey(String key, String key1)static ProcessorProcessorFactory. create(String yamcsInstance, String name, String type, String creator, Object spec)Create a processor with the give name, type, creator and spec type is used to load the tm, parameter and command classes as defined in processor.yaml spec if not null is passed as an extra argument to those classes - it is used for example when creating replay processors to pass on the data that has to be replayed. should probably be changed from string to some sort of object.static ProcessorProcessorFactory. create(String instance, String name, String type, List<ProcessorServiceWithConfig> serviceList, String creator, ProcessorConfig config, Object spec)Create a Processor by specifying the service.static ProcessorProcessorFactory. create(String yamcsInstance, String name, ProcessorService... services)creates a processor with the services already instantiated. used from unit testsstatic ProcessorProcessorFactory. create(String yamcsInstance, String name, ProcessorServiceWithConfig... serviceList)creates a processor with the services already instantiated. used from unit testsstatic byte[]YConfiguration. getBinary(Map<String,Object> m, String key)booleanYConfiguration. getBoolean(String key)booleanYConfiguration. getBoolean(String key, String key1)static booleanYConfiguration. getBoolean(Map<String,Object> m, String key)static booleanYConfiguration. getBoolean(Map<String,Object> m, String key, boolean defaultValue)Returns m.get(key) if it exists and is of type boolean, if m.get(key) exists and is not boolean, throw an exception. if m.get(key) does not exist, return the default value.List<YConfiguration>YConfiguration. getConfigList(String key)static YConfigurationYConfiguration. 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 YConfigurationYConfiguration. getConfiguration(String subsystem, boolean reload)Loads and returns a configuration corresponding to a file <subsystem>.yaml This method reloads the configuration file always.InputStreamFileBasedConfigurationResolver. getConfigurationStream(String name)InputStreamYConfiguration.DefaultConfigurationResolver. getConfigurationStream(String name)InputStreamYConfigurationResolver. getConfigurationStream(String name)Searches configuration by namedoubleYConfiguration. getDouble(String key)doubleYConfiguration. getDouble(String key, double defaultValue)static doubleYConfiguration. getDouble(Map<String,Object> m, String key, double v)StringYConfiguration. getFirstEntry()returns the first entry(key) in the config file.Map<String,Object>YConfiguration. getFirstMap()returns the first entry in the config file if it's a map.static StreamConfigStreamConfig. getInstance(String yamcsInstance)intYConfiguration. getInt(String key)intYConfiguration. getInt(String key, int defaultValue)intYConfiguration. getInt(String key, String key1)intYConfiguration. getInt(String key, String key1, int defaultValue)static intYConfiguration. getInt(Map<String,Object> m, String key)static intYConfiguration. getInt(Map<String,Object> m, String key, int defaultValue)return the m.get(key) as an int if it's present or v if it is not.<T> List<T>YConfiguration. getList(String key)static <T> List<T>YConfiguration. getList(Map<String,Object> m, String key)static longYConfiguration. getLong(Map<String,Object> m, String key)static longYConfiguration. getLong(Map<String,Object> m, String key, long v)return the m.get(key) as an long if it's present or v if it is not.<K,V>
Map<K,V>YConfiguration. getMap(String key)Consider usingYConfiguration.getConfig(java.lang.String)to get a child config instead of accessing the map directlystatic Map<String,Object>YConfiguration. getMap(Map<String,Object> m, 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.StringYConfiguration. getString(String key)StringYConfiguration. getString(String key, String defaultValue)static StringYConfiguration. getString(Map<String,Object> m, String key)Returns m.get(key) if it exists and is of type string, otherwise throws an exceptionstatic StringYConfiguration. getString(Map<String,Object> m, String key, String defaultValue)<T> List<T>YConfiguration. getSubList(String key, String key1)Map<String,Object>YConfiguration. getSubMap(String key, String key1)StringYConfiguration. getSubString(String key, String subkey)static booleanYConfiguration. isDefined(String subsystem)voidYamcsServer. startGlobalService(String serviceName)voidYamcsServerInstance. startService(String serviceName)static voidYamcsServer. startServices(List<ServiceWithConfig> serviceList)Starts the specified list of services.Constructors in org.yamcs that throw ConfigurationException Constructor Description StreamInitializer(String yamcsInstance) -
Uses of ConfigurationException in org.yamcs.cmdhistory
Constructors in org.yamcs.cmdhistory that throw ConfigurationException Constructor Description CommandHistoryRequestManager(Processor processor) -
Uses of ConfigurationException in org.yamcs.commanding
Constructors in org.yamcs.commanding that throw ConfigurationException Constructor Description CommandQueueManager(CommandingManager commandingManager)Constructs a Command Queue Manager. -
Uses of ConfigurationException in org.yamcs.http
Methods in org.yamcs.http that throw ConfigurationException Modifier and Type Method Description static voidStaticFileHandler. init(List<String> staticRoots, boolean zeroCopyEnabled) -
Uses of ConfigurationException in org.yamcs.parameter
Constructors in org.yamcs.parameter that throw ConfigurationException Constructor Description ParameterRequestManager(Processor yproc, XtceTmProcessor tmProcessor)Creates a new ParameterRequestManager, configured to listen to the specified XtceTmProcessor. -
Uses of ConfigurationException in org.yamcs.tctm
Methods in org.yamcs.tctm that throw ConfigurationException Modifier and Type Method Description voidAbstractLink. init(String instance, String name, YConfiguration config)voidAbstractTcDataLink. init(String yamcsInstance, String linkName, YConfiguration config)voidAbstractThreadedTcDataLink. init(String yamcsInstance, String linkName, YConfiguration config)voidTcpTcDataLink. init(String yamcsInstance, String name, YConfiguration config)voidTcpTcTmDataLink. init(String instance, String name, YConfiguration config)voidTcpTmDataLink. init(String instance, String name, YConfiguration config)voidUdpTcDataLink. init(String yamcsInstance, String name, YConfiguration config)voidUdpTmDataLink. init(String instance, String name, YConfiguration config)Creates a new UDP TM Data Linkprotected voidTcpTcTmDataLink. initPostprocessor(String instance, YConfiguration config) -
Uses of ConfigurationException in org.yamcs.tctm.ccsds
Methods in org.yamcs.tctm.ccsds that throw ConfigurationException Modifier and Type Method Description voidAbstractTmFrameLink. init(String instance, String name, YConfiguration config)voidUdpTmFrameLink. init(String instance, String name, YConfiguration config)Creates a new UDP Frame Data LinkConstructors in org.yamcs.tctm.ccsds that throw ConfigurationException Constructor Description TcPacketHandler(String yamcsInstance, String linkName, TcManagedParameters.TcVcManagedParameters vmp) -
Uses of ConfigurationException in org.yamcs.utils
Methods in org.yamcs.utils that throw ConfigurationException Modifier and Type Method Description static <T> TYObjectLoader. loadObject(String className, Object... args)Loads classes defined in the yamcs server or client configuration propertiesstatic <T> TYObjectLoader. loadObject(Map<String,Object> conf)loads an object defined like this: class: org.yamcs.... args: key1: value1 key2: value2 "args" can also be called "config" or can be missing.static <T> TYObjectLoader. loadObject(Map<String,Object> conf, Object firstArg)same as the method above but loads a constructor with the firstArg as the first argumentstatic <T> TYObjectLoader. loadObject(Map<String,Object> conf, Object firstArg, Object secondArg)same as the method above but loads a constructor with firstArg and secondArg as the first two arguments -
Uses of ConfigurationException in org.yamcs.xtce
Methods in org.yamcs.xtce that throw ConfigurationException Modifier and Type Method Description StringAbstractFileLoader. getConfigName()StringEmptyNodeLoader. getConfigName()StringSpaceSystemLoader. getConfigName()The filename used to save the database after all the loaders have loaded it, is based on a concatenation of the config names returned by the loaders.StringXtceLoader. getConfigName()SpaceSystemEmptyNodeLoader. load()SpaceSystemSpaceSystemLoader. load()Deprecated.this method is deprecated in favour ofSpaceSystemLoader.loadList()SpaceSystemSpreadsheetLoader. load()SpaceSystemXtceLoader. load()List<SpaceSystem>XtceLoader. loadList()booleanAbstractFileLoader. needsUpdate(RandomAccessFile consistencyDateFile)booleanEmptyNodeLoader. needsUpdate(RandomAccessFile consistencyDateFile)booleanSpaceSystemLoader. needsUpdate(RandomAccessFile consistencyDateFile)booleanXtceLoader. needsUpdate(RandomAccessFile consistencyDateFile)Constructors in org.yamcs.xtce that throw ConfigurationException Constructor Description AbstractFileLoader(String path)BaseSpreadsheetLoader(String path) -
Uses of ConfigurationException in org.yamcs.xtce.xlsv6
Constructors in org.yamcs.xtce.xlsv6 that throw ConfigurationException Constructor Description V6LoaderBase(String path) -
Uses of ConfigurationException in org.yamcs.xtceproc
Methods in org.yamcs.xtceproc that throw ConfigurationException Modifier and Type Method Description static XtceDbXtceDbFactory. createInstance(List<YConfiguration> treeConfig, boolean attemptToLoadSerialized, boolean saveSerialized)Load a XTCE database from a description.static XtceDbXtceDbFactory. createInstanceByConfig(String configSection, boolean attemptToLoadSerialized)static XtceDbXtceDbFactory. getInstance(String yamcsInstance)retrieves the XtceDb for the corresponding yamcsInstance. if yamcsInstance is null, then the first one in the mdb.yaml config file is loadedvoidXtceTmProcessor. init(Processor processor, YConfiguration config, Object spec)
-