| java.lang.Object net.sf.clirr.core.internal.checks.ExpectedDiff
ExpectedDiff | final public class ExpectedDiff (Code) | | Describes an expected API change.
|
ExpectedDiff | public ExpectedDiff(String report, Severity severity, String clazz, String method, String field)(Code) | | Create a new API difference representation.
Parameters: report - a human readable string describing the change that was made, must be non-null. Parameters: severity - the severity in terms of binary and source code compatibility, must be non-null. Parameters: clazz - the fully qualified class name where the change occured, must be non-null. Parameters: method - the method signature of the method that changed, null if no method was affected. Parameters: field - the field name where the change occured, null if no field was affected. |
ExpectedDiff | public ExpectedDiff(String report, Severity binarySeverity, Severity sourceSeverity, String clazz, String method, String field)(Code) | | Create a new API difference representation.
Parameters: report - a human readable string describing the change that was made, must be non-null. Parameters: binarySeverity - the severity in terms of binary compatibility, must be non-null. Parameters: sourceSeverity - the severity in terms of source code compatibility, must be non-null. Parameters: clazz - the fully qualified class name where the change occured, must be non-null. Parameters: method - the method signature of the method that changed, null if no method was affected. Parameters: field - the field name where the change occured, null if no field was affected. |
matches | public boolean matches(ApiDifference diff)(Code) | | Returns true if the provided ApiDifference object matches the
expected value.
|
|
|