Package com.atlassian.new_platform
Class BundleUtils
java.lang.Object
com.atlassian.new_platform.BundleUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic BundleInfoextractBundleInfo(Path path) static BundleInfoextractLibraryInfo(Path path) mapToBundleNames(List<BundleInfo> bundles) static List<BundleInfo> parseBundles(Path root) Parsed in parallel, for the reasons given onparseLibraries(java.nio.file.Path).static List<BundleInfo> parseLibraries(Path root) Parsed in parallel: each jar gets its ownJarandAnalyzer, and this deep scan is the dominant cost of the contract tests' setup.
-
Method Details
-
extractBundleInfo
-
extractLibraryInfo
-
parseLibraries
Parsed in parallel: each jar gets its ownJarandAnalyzer, and this deep scan is the dominant cost of the contract tests' setup. Sorted first becauseFiles.list(java.nio.file.Path)is unordered, so a parallel collect would otherwise vary the order in which the contract tests name the jars behind a mismatched package.- Throws:
IOException
-
parseBundles
Parsed in parallel, for the reasons given onparseLibraries(java.nio.file.Path).- Throws:
IOException
-
mapToBundleNames
-