Package org.yamcs.mdb

Class XtceAssembler

java.lang.Object
org.yamcs.mdb.XtceAssembler

public class XtceAssembler extends Object
Experimental export of Mission Database to XTCE.
  • Constructor Details

    • XtceAssembler

      public XtceAssembler()
  • Method Details

    • toXtce

      public final String toXtce(Mdb mdb)
    • toXtce

      public final String toXtce(Mdb mdb, String topSpaceSystem, Predicate<String> filter)
      Convert the mission database to XTCE starting at the specified top container and saving only filtered containers.

      The filter will be called with the Fully Qualified Name of each container under the top and if it returns true, the specified container will be saved.

      Note that in the resulting file (if the top is not the root) the containers will have their qualified name stripped by the top name. In addition there might be references to objects from SpaceSystems that are not part of the export.

      Parameters:
      mdb -
      topSpaceSystem - the fully qualified name of the space system where the export should start from. If the space system does not exist, a IllegalArgumentException will be thrown.
      filter -
      Returns: