Package japicmp.model

Enum Class JApiCompatibilityChange

java.lang.Object
java.lang.Enum<JApiCompatibilityChange>
japicmp.model.JApiCompatibilityChange
All Implemented Interfaces:
Serializable, Comparable<JApiCompatibilityChange>, Constable

public enum JApiCompatibilityChange extends Enum<JApiCompatibilityChange>
  • Enum Constant Details

  • Field Details

    • binaryCompatible

      private boolean binaryCompatible
    • sourceCompatible

      private boolean sourceCompatible
    • semanticVersionLevel

      private JApiSemanticVersionLevel semanticVersionLevel
    • binaryCompatibleOverridden

      private Boolean binaryCompatibleOverridden
    • sourceCompatibleOverridden

      private Boolean sourceCompatibleOverridden
    • semanticVersionLevelOverridden

      private JApiSemanticVersionLevel semanticVersionLevelOverridden
  • Constructor Details

    • JApiCompatibilityChange

      private JApiCompatibilityChange(boolean binaryCompatible, boolean sourceCompatible, JApiSemanticVersionLevel jApiSemanticVersionLevel)
  • Method Details

    • values

      public static JApiCompatibilityChange[] 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

      public static JApiCompatibilityChange valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isBinaryCompatible

      public boolean isBinaryCompatible()
    • isSourceCompatible

      public boolean isSourceCompatible()
    • getSemanticVersionLevel

      public JApiSemanticVersionLevel getSemanticVersionLevel()
    • setBinaryCompatible

      public void setBinaryCompatible(boolean binaryCompatible)
    • setSourceCompatible

      public void setSourceCompatible(boolean sourceCompatible)
    • setSemanticVersionLevel

      public void setSemanticVersionLevel(JApiSemanticVersionLevel semanticVersionLevel)
    • resetOverrides

      public void resetOverrides()