Package graphql.schema.diffing
Class SchemaDiffing
java.lang.Object
graphql.schema.diffing.SchemaDiffing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiffAndAnalyze(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) diffGraphQLSchema(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) diffGraphQLSchemaAllEdits(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2, AtomicInteger algoIterationCount) voidstop()Tries to stop the algorithm from execution ASAP by throwing aSchemaDiffingCancelledException.
-
Constructor Details
-
SchemaDiffing
public SchemaDiffing()
-
-
Method Details
-
stop
public void stop()Tries to stop the algorithm from execution ASAP by throwing aSchemaDiffingCancelledException. -
diffGraphQLSchema
public List<EditOperation> diffGraphQLSchema(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) throws Exception - Throws:
Exception
-
diffAndAnalyze
public EditOperationAnalysisResult diffAndAnalyze(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) throws Exception - Throws:
Exception
-
diffGraphQLSchemaAllEdits
public DiffImpl.OptimalEdit diffGraphQLSchemaAllEdits(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2, AtomicInteger algoIterationCount) throws Exception - Throws:
Exception
-