Package graphql.schema.diff.reporting
Class ChainedReporter
- java.lang.Object
 - 
- graphql.schema.diff.reporting.ChainedReporter
 
 
- 
- All Implemented Interfaces:
 DifferenceReporter
@PublicApi public class ChainedReporter extends java.lang.Object implements DifferenceReporter
A reporter that chains together one or more difference reporters 
- 
- 
Constructor Summary
Constructors Constructor Description ChainedReporter(DifferenceReporter... reporters)ChainedReporter(java.util.List<DifferenceReporter> reporters) 
- 
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 
 - 
 
- 
- 
Constructor Detail
- 
ChainedReporter
public ChainedReporter(DifferenceReporter... reporters)
 
- 
ChainedReporter
public ChainedReporter(java.util.List<DifferenceReporter> reporters)
 
 - 
 
- 
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
 
 - 
 
 -