public final class Checker extends java.lang.Object implements ApiDiffDispatcher
| Constructor and Description |
|---|
Checker()
Creates a new Checker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDiffListener(DiffListener listener) |
void |
fireDiff(ApiDifference diff)
Called by checks to inform listeners that an API difference has been detected.
|
ScopeSelector |
getScopeSelector() |
void |
reportDiffs(JavaType[] compatibilityBaseline,
JavaType[] currentVersion)
Checks two sets of classes for api changes and reports
them to the DiffListeners.
|
public ScopeSelector getScopeSelector()
public void addDiffListener(DiffListener listener)
public void fireDiff(ApiDifference diff)
ApiDiffDispatcherfireDiff in interface ApiDiffDispatcherdiff - the API differencepublic void reportDiffs(JavaType[] compatibilityBaseline, JavaType[] currentVersion) throws CheckerException
compatibilityBaseline - the classes that form the
compatibility baseline to check againstcurrentVersion - the classes that are checked for
compatibility with compatibilityBaselineCheckerExceptionCopyright © 2003-2012 Lars K??hne. All Rights Reserved.