Package graphql.schema.diff.reporting
Class PrintStreamReporter
- java.lang.Object
 - 
- graphql.schema.diff.reporting.PrintStreamReporter
 
 
- 
- All Implemented Interfaces:
 DifferenceReporter
@PublicApi public class PrintStreamReporter extends java.lang.Object implements DifferenceReporter
A reporter that prints its output to a PrintStream 
- 
- 
Constructor Summary
Constructors Constructor Description PrintStreamReporter()PrintStreamReporter(java.io.PrintStream out) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEnd()Called when the difference operation if finishedvoidreport(DiffEvent differenceEvent)Called to report a difference 
 - 
 
- 
- 
Method Detail
- 
report
public void report(DiffEvent differenceEvent)
Description copied from interface:DifferenceReporterCalled to report a difference- Specified by:
 reportin interfaceDifferenceReporter- Parameters:
 differenceEvent- the event describing the difference
 
- 
onEnd
public void onEnd()
Description copied from interface:DifferenceReporterCalled when the difference operation if finished- Specified by:
 onEndin interfaceDifferenceReporter
 
 - 
 
 -