Package io.github.classgraph
Class ScanResult.SerializationFormat
java.lang.Object
io.github.classgraph.ScanResult.SerializationFormat
- Enclosing class:
ScanResult
A class to hold a serialized ScanResult along with the ScanSpec that was used to scan.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of allClassInfoobjects.The classpath, as a list of URL strings.The serialization format.The list of allModuleInfoobjects.The list of allPackageInfoobjects.The scan spec. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.SerializationFormat(String serializationFormatStr, ScanSpec scanSpec, List<ClassInfo> classInfo, List<PackageInfo> packageInfo, List<ModuleInfo> moduleInfo, List<String> classpath) Constructor. -
Method Summary
-
Field Details
-
format
The serialization format. -
scanSpec
The scan spec. -
classpath
The classpath, as a list of URL strings. -
classInfo
The list of allClassInfoobjects. -
packageInfo
The list of allPackageInfoobjects. -
moduleInfo
The list of allModuleInfoobjects.
-
-
Constructor Details
-
SerializationFormat
public SerializationFormat()Constructor. -
SerializationFormat
public SerializationFormat(String serializationFormatStr, ScanSpec scanSpec, List<ClassInfo> classInfo, List<PackageInfo> packageInfo, List<ModuleInfo> moduleInfo, List<String> classpath) Constructor.- Parameters:
serializationFormatStr- the serialization format stringscanSpec- the scan specclassInfo- the list of allClassInfoobjectspackageInfo- the list of allPackageInfoobjectsmoduleInfo- the list of allModuleInfoobjectsclasspath- the classpath as a list of URL strings
-