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 allClassInfo
objects.The classpath, as a list of URL strings.The serialization format.The list of allModuleInfo
objects.The list of allPackageInfo
objects.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 allClassInfo
objects. -
packageInfo
The list of allPackageInfo
objects. -
moduleInfo
The list of allModuleInfo
objects.
-
-
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 allClassInfo
objectspackageInfo
- the list of allPackageInfo
objectsmoduleInfo
- the list of allModuleInfo
objectsclasspath
- the classpath as a list of URL strings
-