Package aQute.bnd.main
Class BaselineCommands
java.lang.Object
aQute.bnd.main.BaselineCommands
Implements commands to maintain the Package versions db.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) class(package private) static interfacePrint out the packages from spec jars and check in which ees they appear. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Baseline(package private) final bnd(package private) final DiffPluginImplprivate static final org.slf4j.Logger(package private) final Collection<String> (package private) static TransformerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidComparevoidCreate a schema of a set of jars outling the packages and their versions.private voidbaseline(BaselineCommands.baseLineOptions opts, Jar newer, Jar older, Instructions packages) protected voiddoDiff(Diff diff, StringBuilder sb) voiddoExportPackage(Baseline.Info[] infos, PrintStream out) protected voiddoPackageDiff(Diff diff) protected StringgetShortDelta(Delta delta) private TaggetTag(Baseline.Info info) private voidtraverseTag(StringBuilder sb, Diff diff, String indent)
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
transformerFactory
-
bnd
-
baseline
-
differ
-
SKIP_HEADERS
-
-
Constructor Details
-
BaselineCommands
BaselineCommands(bnd bnd) throws IOException - Throws:
IOException
-
-
Method Details
-
_baseline
Compare- Throws:
Exception
-
baseline
private void baseline(BaselineCommands.baseLineOptions opts, Jar newer, Jar older, Instructions packages) throws FileNotFoundException, UnsupportedEncodingException, IOException, Exception -
doPackageDiff
-
doDiff
-
getShortDelta
-
_schema
Create a schema of a set of jars outling the packages and their versions. This will create a list of packages with multiple versions, link to their specifications, and the deltas between versions.bnd package schema invalid input: '<'file.jar>*- Parameters:
opts-- Throws:
Exception
-
getTag
-
traverseTag
-
doExportPackage
- Parameters:
infos-out-- Throws:
IOException
-