Enum ChangeKind

    • Enum Constant Detail

      • REWORK

        public static final ChangeKind REWORK
        Nontrivial content changes.
      • TRIVIAL_REBASE

        public static final ChangeKind TRIVIAL_REBASE
        Conflict-free merge between the new parent and the prior patch set.
      • MERGE_FIRST_PARENT_UPDATE

        public static final ChangeKind MERGE_FIRST_PARENT_UPDATE
        Conflict-free change of first (left) parent of a merge commit.
      • NO_CODE_CHANGE

        public static final ChangeKind NO_CODE_CHANGE
        Same tree and same parent tree.
      • NO_CHANGE

        public static final ChangeKind NO_CHANGE
        Same tree, parent tree, same commit message.
    • Method Detail

      • values

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

        public static ChangeKind 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