Class FixResult

    • Method Detail

      • reduce

        public static FixResult reduce​(FixResult one,
                                       FixResult two)
        Reduce two FixResults into one
        Parameters:
        one - the first fix result
        two - the second fix result
        Returns:
        the reduced fix result
      • isNoResolver

        public boolean isNoResolver()
        Whether or not there was a resolver to use
      • isFixesApplied

        public boolean isFixesApplied()
        Whether or not fixes were applied
      • isError

        public boolean isError()
        Whether or not an error occurred during fix
      • getFixCount

        public int getFixCount()
        The number of fixes made
      • getErrorCount

        public int getErrorCount()
        The number of errors which occurred
      • getFormattedMessages

        @NonNull
        public @NonNull Collection<String> getFormattedMessages()
        Messages formatted for reporting

        Format: [SEVERITY] repositoryFilePath :: message

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object