Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 984 Bytes

CreateCustomReporter.md

File metadata and controls

33 lines (26 loc) · 984 Bytes

How to Create Your Own Custom Reporter

Contents

Problem Statement

If your favorite diff tool isn't supported out of the box, you can create your own custom extensions.

Example Code

Here's an example:

public class CustomReporter extends GenericDiffReporter
{
  // optional singleton, but improves performance
  public static final CustomReporter INSTANCE = new CustomReporter();
  public CustomReporter()
  {
    super("/fullpath/to/diffProgram.exe");
  }
}

snippet source | anchor

See Also: Reporters