Package graphql.schema.diffing
Class SchemaDiffing
- java.lang.Object
-
- graphql.schema.diffing.SchemaDiffing
-
public class SchemaDiffing extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SchemaDiffing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditOperationAnalysisResult
diffAndAnalyze(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2)
java.util.List<EditOperation>
diffGraphQLSchema(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2)
DiffImpl.OptimalEdit
diffGraphQLSchemaAllEdits(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2, java.util.concurrent.atomic.AtomicInteger algoIterationCount)
void
stop()
Tries to stop the algorithm from execution ASAP by throwing aSchemaDiffingCancelledException
.
-
-
-
Method Detail
-
stop
public void stop()
Tries to stop the algorithm from execution ASAP by throwing aSchemaDiffingCancelledException
.
-
diffGraphQLSchema
public java.util.List<EditOperation> diffGraphQLSchema(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) throws java.lang.Exception
- Throws:
java.lang.Exception
-
diffAndAnalyze
public EditOperationAnalysisResult diffAndAnalyze(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) throws java.lang.Exception
- Throws:
java.lang.Exception
-
diffGraphQLSchemaAllEdits
public DiffImpl.OptimalEdit diffGraphQLSchemaAllEdits(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2, java.util.concurrent.atomic.AtomicInteger algoIterationCount) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-