Class ScanResult.SerializationFormat

  • Enclosing class:
    ScanResult

    private static class ScanResult.SerializationFormat
    extends java.lang.Object
    A class to hold a serialized ScanResult along with the ScanSpec that was used to scan.
    • Field Detail

      • format

        public java.lang.String format
        The serialization format.
      • scanSpec

        public ScanSpec scanSpec
        The scan spec.
      • classpath

        public java.util.List<java.lang.String> classpath
        The classpath, as a list of URL strings.
      • classInfo

        public java.util.List<ClassInfo> classInfo
        The list of all ClassInfo objects.
    • Constructor Detail

      • SerializationFormat

        public SerializationFormat()
        Constructor.
      • SerializationFormat

        public SerializationFormat​(java.lang.String serializationFormatStr,
                                   ScanSpec scanSpec,
                                   java.util.List<ClassInfo> classInfo,
                                   java.util.List<PackageInfo> packageInfo,
                                   java.util.List<ModuleInfo> moduleInfo,
                                   java.util.List<java.lang.String> classpath)
        Constructor.
        Parameters:
        serializationFormatStr - the serialization format string
        scanSpec - the scan spec
        classInfo - the list of all ClassInfo objects
        packageInfo - the list of all PackageInfo objects
        moduleInfo - the list of all ModuleInfo objects
        classpath - the classpath as a list of URL strings