Uses of Class
org.yamcs.ConfigurationException
Packages that use ConfigurationException
Package
Description
-
Uses of ConfigurationException in org.yamcs
Subclasses of ConfigurationException in org.yamcsModifier and TypeClassDescriptionstatic classIntroduced 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 ConfigurationExceptionModifier and TypeMethodDescriptionbooleanYConfiguration.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 testsprotected StreamAbstractYamcsService.findStream(String streamName) looks for a stream with a given name and throws an exception if it cannot be foundstatic byte[]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.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.FileBasedConfigurationResolver.getConfigurationStream(String name) YConfiguration.DefaultConfigurationResolver.getConfigurationStream(String name) YConfigurationResolver.getConfigurationStream(String name) Searches configuration by namedoubledoublestatic doublestatic doubleYConfiguration.getFirstEntry()returns the first entry(key) in the config file.YConfiguration.getFirstMap()returns the first entry in the config file if it's a map.static StreamConfigStreamConfig.getInstance(String yamcsInstance) intintintintstatic intstatic intreturn the m.get(key) as an int if it's present or v if it is not.<T> List<T>static <T> List<T>static longstatic longreturn the m.get(key) as an long if it's present or v if it is not.<K,V> Map<K, V> Consider usingYConfiguration.getConfig(java.lang.String)to get a child config instead of accessing the map directlyYConfiguration.getServiceConfigList(String key) This is the same like the method above but will create a {class: "string"} for strings rather than throwing an exception.static StringReturns m.get(key) if it exists and is of type string, otherwise throws an exceptionstatic String<T> List<T>YConfiguration.getSubList(String key, String key1) YConfiguration.getSubString(String key, String subkey) static booleanvoidYamcsServer.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 -
Uses of ConfigurationException in org.yamcs.cmdhistory
Constructors in org.yamcs.cmdhistory that throw ConfigurationException -
Uses of ConfigurationException in org.yamcs.commanding
Constructors in org.yamcs.commanding that throw ConfigurationExceptionModifierConstructorDescriptionCommandQueueManager(CommandingManager commandingManager) Constructs a Command Queue Manager. -
Uses of ConfigurationException in org.yamcs.mdb
Methods in org.yamcs.mdb that throw ConfigurationExceptionModifier and TypeMethodDescriptionstatic MdbMdbFactory.createInstance(List<YConfiguration> treeConfig, boolean attemptToLoadSerialized, boolean saveSerialized) Load a XTCE database from a description.static MdbMdbFactory.createInstanceByConfig(String configSection, boolean attemptToLoadSerialized) AbstractFileLoader.getConfigName()EmptyNodeLoader.getConfigName()SpaceSystemLoader.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.XtceLoader.getConfigName()static MdbMdbFactory.getInstance(String yamcsInstance) retrieves the MDB for the corresponding yamcsInstance. if yamcsInstance is null, then the first one in the mdb.yaml config file is loadedstatic MdbXtceDbFactory.getInstance(String yamcsInstance) Deprecated.voidXtceTmProcessor.init(Processor processor, YConfiguration config, Object spec) EmptyNodeLoader.load()SpaceSystemLoader.load()Deprecated.SpreadsheetLoader.load()XtceLoader.load()XtceLoader.loadList()booleanAbstractFileLoader.needsUpdate(RandomAccessFile consistencyDateFile) booleanEmptyNodeLoader.needsUpdate(RandomAccessFile consistencyDateFile) booleanSpaceSystemLoader.needsUpdate(RandomAccessFile consistencyDateFile) booleanXtceLoader.needsUpdate(RandomAccessFile consistencyDateFile) Constructors in org.yamcs.mdb that throw ConfigurationException -
Uses of ConfigurationException in org.yamcs.parameter
Constructors in org.yamcs.parameter that throw ConfigurationExceptionModifierConstructorDescriptionParameterProcessorManager(Processor proc, XtceTmProcessor tmProcessor) Creates a new ParameterRequestManager, configured to listen to the specified XtceTmProcessor.Creates a new ParameterRequestManager, configured to listen to the specified XtceTmProcessor. -
Uses of ConfigurationException in org.yamcs.simulator
Methods in org.yamcs.simulator that throw ConfigurationExceptionModifier and TypeMethodDescriptionPerfMdbLoader.load()booleanPerfMdbLoader.needsUpdate(RandomAccessFile consistencyDateFile) -
Uses of ConfigurationException in org.yamcs.tctm
Methods in org.yamcs.tctm that throw ConfigurationExceptionModifier and TypeMethodDescriptionvoidAbstractLink.init(String instance, String name, YConfiguration config) voidAbstractTcDataLink.init(String yamcsInstance, String linkName, YConfiguration config) voidAbstractTcTmParamLink.init(String instance, String name, 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) voidUdpTmDataLink.init(String instance, String name, YConfiguration config) Creates a new UDP TM Data Linkprotected voidAbstractTcTmParamLink.initTc(String instance, YConfiguration config) -
Uses of ConfigurationException in org.yamcs.tctm.ccsds
Methods in org.yamcs.tctm.ccsds that throw ConfigurationExceptionModifier and TypeMethodDescriptionvoidAbstractTmFrameLink.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 ConfigurationExceptionModifierConstructorDescriptionTcPacketHandler(String yamcsInstance, String linkName, TcManagedParameters.TcVcManagedParameters vmp) -
Uses of ConfigurationException in org.yamcs.tse
Methods in org.yamcs.tse that throw ConfigurationExceptionModifier and TypeMethodDescriptionTseLoader.getConfigName()TseLoader.load()booleanTseLoader.needsUpdate(RandomAccessFile consistencyDateFile) -
Uses of ConfigurationException in org.yamcs.ui.packetviewer
Methods in org.yamcs.ui.packetviewer that throw ConfigurationExceptionConstructors in org.yamcs.ui.packetviewer that throw ConfigurationExceptionModifierConstructorDescriptionOpenFileDialog(Map<String, FileFormat> fileFormats) PacketViewer(int maxLines) -
Uses of ConfigurationException in org.yamcs.utils
Methods in org.yamcs.utils that throw ConfigurationExceptionModifier and TypeMethodDescriptionstatic <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> Tsame as the method above but loads a constructor with firstArg and secondArg as the first two arguments -
Uses of ConfigurationException in org.yamcs.xtce.xlsv6
Constructors in org.yamcs.xtce.xlsv6 that throw ConfigurationException
SpaceSystemLoader.loadList()