Class JsonManifest


  • public class JsonManifest
    extends TrainCommon
    A minimal manifest in JSON. This manifest is intended to be read by machines for building manifests in other, human-readable outputs. This manifest is retained at build time so that manifests can be endlessly recreated in other formats, even if the operations database state has changed. It is expected that the parsers for this manifest will be capable of querying operations for more specific information while transforming this manifest into other formats.
    • Field Detail

      • locale

        protected final java.util.Locale locale
    • Method Detail

      • getFile

        public java.io.File getFile()
      • build

        public void build()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getLocations

        public com.fasterxml.jackson.databind.node.ArrayNode getLocations()