Class XtceLoader

java.lang.Object
org.yamcs.xtce.XtceLoader
All Implemented Interfaces:
SpaceSystemLoader

public class XtceLoader extends Object implements SpaceSystemLoader
XTCE XML loader. Used when the MDB configuration contains the type "xtce". For example in yamcs.instance.yaml:
 mdb:
 - type: xtce
   args:
     file: "mdb/BogusSAT-1.xml"
 
The loader is tolerant for XTCE versions 1.1 and 1.2.

For strict adherence to the standard, the file can be verified against the XSD with an external tool.

Options:

  • file: the XML file to be loaded. Can be an absolute path or relative to the server directory. Mandatory.
  • autoTmPartitions: if true (default) all the SequenceContainer will be automatically set as archive partitions unless they have a parent in the hierarchy that is manually configured for TM partitions. The manual configuration for TM partitions can be achieved using an AncillaryData property with the name Yamcs and the value UseAsArchivingPartition. See SequenceContainer.useAsArchivePartition(boolean)