Uses of Class
org.yamcs.ConfigurationException
Package
Description
-
Uses of ConfigurationException in org.yamcs
Modifier and TypeClassDescriptionstatic class
Introduced to be able to detect when a configuration file was not specified (as opposed to when there's a validation error inside).Modifier and TypeMethodDescriptionboolean
YConfiguration.containsKey
(String key, String key1) static Processor
ProcessorFactory.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 Processor
ProcessorFactory.create
(String instance, String name, String type, List<ProcessorServiceWithConfig> serviceList, String creator, ProcessorConfig config, Object spec) Create a Processor by specifying the service.static Processor
ProcessorFactory.create
(String yamcsInstance, String name, ProcessorService... services) creates a processor with the services already instantiated. used from unit testsstatic Processor
ProcessorFactory.create
(String yamcsInstance, String name, ProcessorServiceWithConfig... serviceList) creates a processor with the services already instantiated. used from unit testsstatic byte[]
boolean
YConfiguration.getBoolean
(String key) boolean
YConfiguration.getBoolean
(String key, String key1) static boolean
YConfiguration.getBoolean
(Map<String, Object> m, String key) static boolean
YConfiguration.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 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.FileBasedConfigurationResolver.getConfigurationStream
(String name) YConfiguration.DefaultConfigurationResolver.getConfigurationStream
(String name) YConfigurationResolver.getConfigurationStream
(String name) Searches configuration by namedouble
double
static double
static double
YConfiguration.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 StreamConfig
StreamConfig.getInstance
(String yamcsInstance) int
int
int
int
static int
static int
return 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 long
static long
return 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 String
Returns 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 boolean
void
YamcsServer.startGlobalService
(String serviceName) void
YamcsServerInstance.startService
(String serviceName) static void
YamcsServer.startServices
(List<ServiceWithConfig> serviceList) Starts the specified list of services. -
Uses of ConfigurationException in org.yamcs.cmdhistory
-
Uses of ConfigurationException in org.yamcs.commanding
ModifierConstructorDescriptionCommandQueueManager
(CommandingManager commandingManager) Constructs a Command Queue Manager. -
Uses of ConfigurationException in org.yamcs.mdb
Modifier and TypeMethodDescriptionstatic Mdb
MdbFactory.createInstance
(List<YConfiguration> treeConfig, boolean attemptToLoadSerialized, boolean saveSerialized) Load a XTCE database from a description.static Mdb
MdbFactory.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 Mdb
MdbFactory.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 Mdb
XtceDbFactory.getInstance
(String yamcsInstance) Deprecated.void
XtceTmProcessor.init
(Processor processor, YConfiguration config, Object spec) EmptyNodeLoader.load()
SpaceSystemLoader.load()
Deprecated.SpreadsheetLoader.load()
XtceLoader.load()
XtceLoader.loadList()
boolean
AbstractFileLoader.needsUpdate
(RandomAccessFile consistencyDateFile) boolean
EmptyNodeLoader.needsUpdate
(RandomAccessFile consistencyDateFile) boolean
SpaceSystemLoader.needsUpdate
(RandomAccessFile consistencyDateFile) boolean
XtceLoader.needsUpdate
(RandomAccessFile consistencyDateFile) -
Uses of ConfigurationException in org.yamcs.parameter
ModifierConstructorDescriptionParameterProcessorManager
(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
Modifier and TypeMethodDescriptionPerfMdbLoader.load()
boolean
PerfMdbLoader.needsUpdate
(RandomAccessFile consistencyDateFile) -
Uses of ConfigurationException in org.yamcs.tctm
Modifier and TypeMethodDescriptionvoid
AbstractLink.init
(String instance, String name, YConfiguration config) void
AbstractTcDataLink.init
(String yamcsInstance, String linkName, YConfiguration config) void
AbstractTcTmParamLink.init
(String instance, String name, YConfiguration config) void
AbstractThreadedTcDataLink.init
(String yamcsInstance, String linkName, YConfiguration config) void
TcpTcDataLink.init
(String yamcsInstance, String name, YConfiguration config) void
TcpTcTmDataLink.init
(String instance, String name, YConfiguration config) void
TcpTmDataLink.init
(String instance, String name, YConfiguration config) void
UdpTmDataLink.init
(String instance, String name, YConfiguration config) Creates a new UDP TM Data Linkprotected void
AbstractTcTmParamLink.initTc
(String instance, YConfiguration config) -
Uses of ConfigurationException in org.yamcs.tctm.ccsds
Modifier and TypeMethodDescriptionvoid
AbstractTmFrameLink.init
(String instance, String name, YConfiguration config) void
UdpTmFrameLink.init
(String instance, String name, YConfiguration config) Creates a new UDP Frame Data LinkModifierConstructorDescriptionTcPacketHandler
(String yamcsInstance, String linkName, TcManagedParameters.TcVcManagedParameters vmp) -
Uses of ConfigurationException in org.yamcs.tse
Modifier and TypeMethodDescriptionTseLoader.getConfigName()
TseLoader.load()
boolean
TseLoader.needsUpdate
(RandomAccessFile consistencyDateFile) -
Uses of ConfigurationException in org.yamcs.ui.packetviewer
ModifierConstructorDescriptionOpenFileDialog
(Map<String, FileFormat> fileFormats) PacketViewer
(int maxLines) -
Uses of ConfigurationException in org.yamcs.utils
Modifier and TypeMethodDescriptionstatic <T> T
YObjectLoader.loadObject
(String className, Object... args) Loads classes defined in the yamcs server or client configuration propertiesstatic <T> T
YObjectLoader.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> T
YObjectLoader.loadObject
(Map<String, Object> conf, Object firstArg) same as the method above but loads a constructor with the firstArg as the first argumentstatic <T> T
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.xlsv6
SpaceSystemLoader.loadList()