@PublicSpi public class SchemaDiff extends java.lang.Object
DiffSet
and will report the
differences in the graphql schema APIs by raising events to a
DifferenceReporter
Modifier and Type | Class and Description |
---|---|
static class |
SchemaDiff.Options
Options for controlling the diffing process
|
Constructor and Description |
---|
SchemaDiff()
Constructs a differ using default options
|
SchemaDiff(SchemaDiff.Options options)
Constructs a differ with the specified options
|
Modifier and Type | Method and Description |
---|---|
int |
diffSchema(DiffSet diffSet,
DifferenceReporter reporter)
This will perform a difference on the two schemas.
|
public SchemaDiff()
public SchemaDiff(SchemaDiff.Options options)
options
- the controlling optionspublic int diffSchema(DiffSet diffSet, DifferenceReporter reporter)
diffSet
- the two schemas to compare for differencereporter
- the place to report difference events to