Class AutoFixAction.ProposedChange

java.lang.Object
io.jenkins.plugins.explain_error.autofix.AutoFixAction.ProposedChange
Enclosing class:
AutoFixAction

public static final class AutoFixAction.ProposedChange extends Object
One file the AI proposed to change.
  • Method Details

    • getFilePath

      @NonNull public String getFilePath()
    • getAction

      @CheckForNull public String getAction()
    • getDescription

      @CheckForNull public String getDescription()
    • getUnifiedDiff

      @NonNull public String getUnifiedDiff()
    • getPatch

      @NonNull public String getPatch()
      The diff as a patch for this file: models often leave the two file lines out, and git apply needs them.
    • getDiffLines

      @NonNull public List<AutoFixAction.DiffLine> getDiffLines()
      The lines of the diff, each with what it is, for the page to colour.