Package japicmp.model
Enum Class JApiCompatibilityChange
- All Implemented Interfaces:
Serializable
,Comparable<JApiCompatibilityChange>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private Boolean
private JApiSemanticVersionLevel
private JApiSemanticVersionLevel
private boolean
private Boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
JApiCompatibilityChange
(boolean binaryCompatible, boolean sourceCompatible, JApiSemanticVersionLevel jApiSemanticVersionLevel) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
void
setBinaryCompatible
(boolean binaryCompatible) void
setSemanticVersionLevel
(JApiSemanticVersionLevel semanticVersionLevel) void
setSourceCompatible
(boolean sourceCompatible) static JApiCompatibilityChange
Returns the enum constant of this class with the specified name.static JApiCompatibilityChange[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANNOTATION_DEPRECATED_ADDED
-
CLASS_REMOVED
-
CLASS_NOW_ABSTRACT
-
CLASS_NOW_FINAL
-
CLASS_NO_LONGER_PUBLIC
-
CLASS_TYPE_CHANGED
-
CLASS_NOW_CHECKED_EXCEPTION
-
CLASS_LESS_ACCESSIBLE
-
SUPERCLASS_REMOVED
-
SUPERCLASS_ADDED
-
SUPERCLASS_MODIFIED_INCOMPATIBLE
-
INTERFACE_ADDED
-
INTERFACE_REMOVED
-
METHOD_REMOVED
-
METHOD_REMOVED_IN_SUPERCLASS
-
METHOD_LESS_ACCESSIBLE
-
METHOD_LESS_ACCESSIBLE_THAN_IN_SUPERCLASS
-
METHOD_IS_STATIC_AND_OVERRIDES_NOT_STATIC
-
METHOD_RETURN_TYPE_CHANGED
-
METHOD_NOW_ABSTRACT
-
METHOD_NOW_FINAL
-
METHOD_NOW_STATIC
-
METHOD_NO_LONGER_STATIC
-
METHOD_ADDED_TO_INTERFACE
-
METHOD_ADDED_TO_PUBLIC_CLASS
-
METHOD_NOW_THROWS_CHECKED_EXCEPTION
-
METHOD_NO_LONGER_THROWS_CHECKED_EXCEPTION
-
METHOD_ABSTRACT_ADDED_TO_CLASS
-
METHOD_ABSTRACT_ADDED_IN_SUPERCLASS
-
METHOD_ABSTRACT_ADDED_IN_IMPLEMENTED_INTERFACE
-
METHOD_DEFAULT_ADDED_IN_IMPLEMENTED_INTERFACE
-
METHOD_NEW_DEFAULT
-
METHOD_ABSTRACT_NOW_DEFAULT
-
FIELD_STATIC_AND_OVERRIDES_STATIC
-
FIELD_LESS_ACCESSIBLE_THAN_IN_SUPERCLASS
-
FIELD_NOW_FINAL
-
FIELD_NOW_STATIC
-
FIELD_NO_LONGER_STATIC
-
FIELD_TYPE_CHANGED
-
FIELD_REMOVED
-
FIELD_REMOVED_IN_SUPERCLASS
-
FIELD_LESS_ACCESSIBLE
-
CONSTRUCTOR_REMOVED
-
CONSTRUCTOR_LESS_ACCESSIBLE
-
-
Field Details
-
binaryCompatible
private boolean binaryCompatible -
sourceCompatible
private boolean sourceCompatible -
semanticVersionLevel
-
binaryCompatibleOverridden
-
sourceCompatibleOverridden
-
semanticVersionLevelOverridden
-
-
Constructor Details
-
JApiCompatibilityChange
private JApiCompatibilityChange(boolean binaryCompatible, boolean sourceCompatible, JApiSemanticVersionLevel jApiSemanticVersionLevel)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isBinaryCompatible
public boolean isBinaryCompatible() -
isSourceCompatible
public boolean isSourceCompatible() -
getSemanticVersionLevel
-
setBinaryCompatible
public void setBinaryCompatible(boolean binaryCompatible) -
setSourceCompatible
public void setSourceCompatible(boolean sourceCompatible) -
setSemanticVersionLevel
-
resetOverrides
public void resetOverrides()
-