クラス MarkdownReporter.Builder

java.lang.Object
com.kazurayam.difflib.text.MarkdownReporter.Builder
含まれているクラス:
MarkdownReporter

public static class MarkdownReporter.Builder extends Object
  • コンストラクタの詳細

    • Builder

      public Builder(DiffInfo diffInfo)
      Construct the Builder for @see com.kazurayam.difflib.text.MarkdownReporter
      パラメータ:
      diffInfo - created by @see com.kazurayam.difflib.text.Differ
  • メソッドの詳細

    • compact

      public MarkdownReporter.Builder compact(boolean compact)
      パラメータ:
      compact - when true, you want the resulting report to have compact detail section, where EQUAL rows are trimmed so that the report to be shorter. when false, the detail section will be full. Optional, will default to true
      戻り値:
      an instance of @see com.kazurayam.difflib.text.MarkdownReporter.Builder
    • margin

      public MarkdownReporter.Builder margin(int margin)
      number of EQUAL rows in a DRDSegment
      パラメータ:
      margin - integer of the range [0..5]
      戻り値:
      an instance of @see com.kazurayam.difflib.text.MarkdownReporter.Builder
    • build

      public MarkdownReporter build()
      constructs an instance of @see com.kazurayam.difflib.text.MarkdownReporter