public class BaselineCommands
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
BaselineCommands.baseLineOptions |
(package private) class |
BaselineCommands.PSpec |
(package private) static interface |
BaselineCommands.schemaOptions
Print out the packages from spec jars and check in which ees they appear.
|
Modifier and Type | Field and Description |
---|---|
(package private) Baseline |
baseline |
(package private) bnd |
bnd |
(package private) DiffPluginImpl |
differ |
private static org.slf4j.Logger |
logger |
(package private) java.util.Collection<java.lang.String> |
SKIP_HEADERS |
(package private) static javax.xml.transform.TransformerFactory |
transformerFactory |
Constructor and Description |
---|
BaselineCommands(bnd bnd) |
Modifier and Type | Method and Description |
---|---|
void |
_baseline(BaselineCommands.baseLineOptions opts)
Compare
|
void |
_schema(BaselineCommands.schemaOptions opts)
Create a schema of a set of jars outling the packages and their versions.
|
private void |
baseline(BaselineCommands.baseLineOptions opts,
Jar newer,
Jar older) |
void |
doExportPackage(Baseline.Info[] infos,
java.io.PrintStream out) |
private Tag |
getTag(Baseline.Info info) |
private void |
traverseTag(java.lang.StringBuilder sb,
Diff diff,
java.lang.String indent) |
private static final org.slf4j.Logger logger
static javax.xml.transform.TransformerFactory transformerFactory
final bnd bnd
final Baseline baseline
final DiffPluginImpl differ
final java.util.Collection<java.lang.String> SKIP_HEADERS
BaselineCommands(bnd bnd) throws java.io.IOException
java.io.IOException
public void _baseline(BaselineCommands.baseLineOptions opts) throws java.lang.Exception
java.lang.Exception
private void baseline(BaselineCommands.baseLineOptions opts, Jar newer, Jar older) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException, java.io.IOException, java.lang.Exception
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
java.io.IOException
java.lang.Exception
public void _schema(BaselineCommands.schemaOptions opts) throws java.lang.Exception
bnd package schema*
opts
- java.lang.Exception
private Tag getTag(Baseline.Info info)
private void traverseTag(java.lang.StringBuilder sb, Diff diff, java.lang.String indent)
public void doExportPackage(Baseline.Info[] infos, java.io.PrintStream out) throws java.io.IOException
infos
- out
- java.io.IOException