Enum NoMergeBaseException.MergeBaseFailureReason

    • Enum Constant Detail

      • MULTIPLE_MERGE_BASES_NOT_SUPPORTED

        public static final NoMergeBaseException.MergeBaseFailureReason MULTIPLE_MERGE_BASES_NOT_SUPPORTED
        Multiple merge bases have been found (e.g. the commits to be merged have multiple common predecessors) but the merge strategy doesn't support this (e.g. ResolveMerge)
      • CONFLICTS_DURING_MERGE_BASE_CALCULATION

        public static final NoMergeBaseException.MergeBaseFailureReason CONFLICTS_DURING_MERGE_BASE_CALCULATION
        In order to find a single merge base it may required to merge together multiple common predecessors. If during these merges conflicts occur the merge fails with this reason
    • Method Detail

      • values

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

        public static NoMergeBaseException.MergeBaseFailureReason 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