Enum ComparisonFilterKind

    • Enum Constant Detail

      • NONE

        public static final ComparisonFilterKind NONE
        A singleton "none" filter kind instance, representing "no filtering". Is common for two-way and three-way comparison.
      • DIFFS

        public static final ComparisonFilterKind DIFFS
        Differences, this includes changed objects and objects present only on one side.
      • ONLY_MAIN

        public static final ComparisonFilterKind ONLY_MAIN
        Objects present only on the main side.
      • ONLY_OTHER

        public static final ComparisonFilterKind ONLY_OTHER
        Objects present only on the other side.
      • UNCHANGED

        public static final ComparisonFilterKind UNCHANGED
        Unchanged objects present on both sides.
      • MAIN_AND_OTHER_TO_ANCESTOR

        public static final ComparisonFilterKind MAIN_AND_OTHER_TO_ANCESTOR
        Differences between the main and ancestor, the other and the ancestor sides.
      • MAIN_TO_OTHER

        public static final ComparisonFilterKind MAIN_TO_OTHER
        Differences between the main and the other side.
      • MAIN_TO_ANCESTOR

        public static final ComparisonFilterKind MAIN_TO_ANCESTOR
        Differences between the main and the ancestor side.
      • OTHER_TO_ANCESTOR

        public static final ComparisonFilterKind OTHER_TO_ANCESTOR
        Differences between the other and the ancestor side.
      • POTENTIAL_PROBLEMS

        public static final ComparisonFilterKind POTENTIAL_PROBLEMS
        Potential problems.
    • Method Detail

      • values

        public static ComparisonFilterKind[] 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 (ComparisonFilterKind c : ComparisonFilterKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ComparisonFilterKind 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
      • isThreeWay

        public boolean isThreeWay()
        Checks whether the comparison filter is appliable for three-way comparison.
        Returns:
        true if the comparison filter is appliable for three-way comparison and false if it is two-way comparison