Class SpecComparator

java.lang.Object
de.iip_ecosphere.platform.configuration.aas.SpecComparator

public class SpecComparator extends Object
Specification comparator.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • SpecComparator

      public SpecComparator()
  • Method Details

    • register

      private static void register(File file)
      Registers a given file, selects for AASX or XLSX.
      Parameters:
      file - the file
    • sortTypes

      private static List<AasType> sortTypes(AasSpecSummary summary)
      Sorts and returns the types in summary.
      Parameters:
      summary - the summary instance
      Returns:
      the type
    • compare

      private static void compare(AasSpecSummary pdf, AasSpecSummary aas)
      Compares two spec summaries.
      Parameters:
      pdf - the PDF summary (considered to be ground truth)
      aas - the AAS summary
    • main

      public static void main(String[] args)
      Reads the spec files and compares them structurally.
      Parameters:
      args - the command line arguments, ignored