Package graphql.schema.diff
Class SchemaDiff.CountingReporter
- java.lang.Object
-
- graphql.schema.diff.SchemaDiff.CountingReporter
-
- All Implemented Interfaces:
DifferenceReporter
- Enclosing class:
- SchemaDiff
private static class SchemaDiff.CountingReporter extends java.lang.Object implements DifferenceReporter
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
breakingCount
(package private) DifferenceReporter
delegate
-
Constructor Summary
Constructors Modifier Constructor Description private
CountingReporter(DifferenceReporter delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onEnd()
Called when the difference operation if finishedvoid
report(DiffEvent differenceEvent)
Called to report a difference
-
-
-
Field Detail
-
delegate
final DifferenceReporter delegate
-
breakingCount
int breakingCount
-
-
Constructor Detail
-
CountingReporter
private CountingReporter(DifferenceReporter delegate)
-
-
Method Detail
-
report
public void report(DiffEvent differenceEvent)
Description copied from interface:DifferenceReporter
Called to report a difference- Specified by:
report
in interfaceDifferenceReporter
- Parameters:
differenceEvent
- the event describing the difference
-
onEnd
public void onEnd()
Description copied from interface:DifferenceReporter
Called when the difference operation if finished- Specified by:
onEnd
in interfaceDifferenceReporter
-
-