Package io.github.classgraph
Class ScanResult.SerializationFormat
- java.lang.Object
-
- io.github.classgraph.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 Summary
Fields Modifier and Type Field Description java.util.List<ClassInfo>
classInfo
The list of allClassInfo
objects.java.util.List<java.lang.String>
classpath
The classpath, as a list of URL strings.java.lang.String
format
The serialization format.java.util.List<ModuleInfo>
moduleInfo
The list of allModuleInfo
objects.java.util.List<PackageInfo>
packageInfo
The list of allPackageInfo
objects.ScanSpec
scanSpec
The scan spec.
-
Constructor Summary
Constructors Constructor Description SerializationFormat()
Constructor.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.
-
-
-
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.
-
packageInfo
public java.util.List<PackageInfo> packageInfo
The list of allPackageInfo
objects.
-
moduleInfo
public java.util.List<ModuleInfo> moduleInfo
The list of allModuleInfo
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 stringscanSpec
- the scan specclassInfo
- the list of allClassInfo
objectspackageInfo
- the list of allPackageInfo
objectsmoduleInfo
- the list of allModuleInfo
objectsclasspath
- the classpath as a list of URL strings
-
-