86878889909192939495
return this; } public JGitFlowReporter commandCall(String shortName) { entries.add(new JGitFlowReportEntry(shortName, Strings.repeat(" ", indent) + "## Command call(): ", false, false)); indent += PAD; return this; }
103104105106107108109110111112
} public JGitFlowReporter endMethod() { indent -= PAD; entries.add(new JGitFlowReportEntry("", Strings.repeat(" ", indent) + "_method END:_ ", true, false)); flush(); return this; }
111112113114115116117118119120
return this; } public JGitFlowReporter debugMethod(String shortName, String text) { entries.add(new JGitFlowReportEntry(shortName, Strings.repeat(" ", indent) + "_method start:_ " + text, true, false)); indent += PAD; return this; }
119120121122123124125126127
return this; } public JGitFlowReporter infoText(String shortName, String text) { entries.add(new JGitFlowReportEntry(shortName, Strings.repeat(" ", indent) + text, false, false)); return this; }
133134135136137138139140141
sb.append(Strings.repeat(" ", indent)) .append("### Merge Result") .append(EOL) .append(mergeResult.toString()); entries.add(new JGitFlowReportEntry(shortName, sb.toString(), false, false)); return this; }
64656667686970717273
} public JGitFlowReporter debugCommandCall(String shortName) { entries.add(new JGitFlowReportEntry(shortName, Strings.repeat(" ", indent) + "## _Command call():_ ", true, false)); indent += PAD; return this; }
727374757677787980
return this; } public JGitFlowReporter debugText(String shortName, String text) { entries.add(new JGitFlowReportEntry(shortName, Strings.repeat(" ", indent) + "_ " + text + " _", true, false)); return this; }
798081828384858687
return this; } public JGitFlowReporter errorText(String shortName, String text) { entries.add(new JGitFlowReportEntry(shortName, Strings.repeat(" ", indent) + "** " + text + " **", false, true)); return this; }
122123124125126127128129130131
if (indent < 0) { indent = 0; } entries.add(new JGitFlowReportEntry("", Strings.repeat(" ", indent) + "_method END:_ ", true, false)); flush(); return this; }