Package gov.nasa.jpl.output.tol
Class JSONTOLWriter
java.lang.Object
gov.nasa.jpl.output.TOLWriter
gov.nasa.jpl.output.tol.JSONTOLWriter
This class produces a JSON TOL originally meant to provide input to Elasticsearch. It therefore mainpulates the data
(removing special characters, flattening lists and maps, etc) in ways that may make it hard to read back into the engine
at a later time. That being said, other scripts could use these JSON TOLs if they are
only looking to extract certain data about the plan.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeFileContents
(ActivityInstanceList actList, ResourceList resList, ConstraintInstanceList conList, Time startTime, Time endTime) Methods inherited from class gov.nasa.jpl.output.TOLWriter
closeFile, createFile, dumpTimelinesToFile
-
Constructor Details
-
JSONTOLWriter
public JSONTOLWriter()
-
-
Method Details
-
writeFileContents
public void writeFileContents(ActivityInstanceList actList, ResourceList resList, ConstraintInstanceList conList, Time startTime, Time endTime) - Specified by:
writeFileContents
in classTOLWriter
-