Package japicmp.model
Interface JApiCompatibility
-
- All Known Implementing Classes:
JApiAnnotation,JApiAnnotationElement,JApiBehavior,JApiClass,JApiClassFileFormatVersion,JApiConstructor,JApiField,JApiImplementedInterface,JApiMethod,JApiSuperclass
public interface JApiCompatibilityImplemented by elements which can indicate if they have changed compatible or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<JApiCompatibilityChange>getCompatibilityChanges()Returns all compatibility changes.booleanisBinaryCompatible()Returns true if this element has changed binary compatible.booleanisSourceCompatible()Returns true if this element has changed source compatible.
-
-
-
Method Detail
-
isBinaryCompatible
boolean isBinaryCompatible()
Returns true if this element has changed binary compatible.- Returns:
- true if this element has changed binary compatible
-
isSourceCompatible
boolean isSourceCompatible()
Returns true if this element has changed source compatible.- Returns:
- true if this element has changed source compatible
-
getCompatibilityChanges
java.util.List<JApiCompatibilityChange> getCompatibilityChanges()
Returns all compatibility changes.- Returns:
- a list of compatibility changes
-
-