Enum DiffResult

    • Enum Constant Detail

      • NO_CHANGES

        public static final DiffResult NO_CHANGES
      • METADATA

        public static final DiffResult METADATA
      • COMPATIBLE

        public static final DiffResult COMPATIBLE
      • INCOMPATIBLE

        public static final DiffResult INCOMPATIBLE
    • Method Detail

      • values

        public static DiffResult[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DiffResult c : DiffResult.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DiffResult valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromWeight

        public static DiffResult fromWeight​(int weight)
      • getWeight

        public int getWeight()
      • getValue

        public String getValue()
      • isUnchanged

        public boolean isUnchanged()
      • isDifferent

        public boolean isDifferent()
      • isIncompatible

        public boolean isIncompatible()
      • isCompatible

        public boolean isCompatible()
      • isMetaChanged

        public boolean isMetaChanged()