Class Baseline
java.lang.Object
aQute.bnd.differ.Baseline
This class maintains
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseline(Jar newer, Jar older, Instructions packageFilters) This method compares a jar to a baseline jar and returns version suggestions if the baseline does not agree with the newer jar.baseline(Tree n, Parameters nExports, Tree o, Parameters oExports, Instructions packageFilters) getBsn()getDiff()Gets the generated diffvoidsetReleaseRepository(String releaseRepository) voidsetSuggestedVersion(Version suggestedVersion)
-
Constructor Details
-
Baseline
- Throws:
IOException
-
-
Method Details
-
baseline
public Set<Baseline.Info> baseline(Jar newer, Jar older, Instructions packageFilters) throws Exception This method compares a jar to a baseline jar and returns version suggestions if the baseline does not agree with the newer jar. The returned set contains all the exported packages.- Parameters:
newer-older-- Returns:
- null if ok, otherwise a set of suggested versions for all packages (also the ones that were ok).
- Throws:
Exception
-
baseline
public Set<Baseline.Info> baseline(Tree n, Parameters nExports, Tree o, Parameters oExports, Instructions packageFilters) throws Exception - Throws:
Exception
-
getDiff
-
getPackageInfos
-
getBsn
-
getSuggestedVersion
-
setSuggestedVersion
-
getNewerVersion
-
getOlderVersion
-
getReleaseRepository
-
setReleaseRepository
-
getBundleInfo
-