Package org.yamcs.xtce
Class XtceAssembler
- java.lang.Object
-
- org.yamcs.xtce.XtceAssembler
-
public class XtceAssembler extends Object
Experimental export of Mission Database to XTCE.
-
-
Constructor Summary
Constructors Constructor Description XtceAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoXtce(XtceDb xtceDb)StringtoXtce(XtceDb xtceDb, String topSpaceSystem, Predicate<String> filter)Convert the mission database to XTCE starting at the specified top container and saving only filtered containers.
-
-
-
Method Detail
-
toXtce
public final String toXtce(XtceDb xtceDb, 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:
xtceDb-topSpaceSystem- the fully qualified name of the space system where the export should start from. If the space system does not exist, aIllegalArgumentExceptionwill be thrown.filter-- Returns:
-
-