Class ElementIndexPreProcessor


  • @Singleton
    public class ElementIndexPreProcessor
    extends Object
    This class preprocesses Element JSON to add additional information to it and extract attachments.
    • Constructor Detail

      • ElementIndexPreProcessor

        @Inject
        public ElementIndexPreProcessor()
        The default constructor.
    • Method Detail

      • addScenarioIndices

        public void addScenarioIndices​(List<Report> reports)
        This adds the internal scenario index to each scenario. It is a sequential number that is unique for every scenario.
        Parameters:
        reports - The list of reports to cycle through.