Class DiffSet


  • @PublicApi
    @Deprecated(since="2023-10-04")
    public class DiffSet
    extends java.lang.Object
    Deprecated.
    Represents 2 schemas that can be diffed. The SchemaDiff code assumes that that schemas to be diffed are the result of a IntrospectionQuery.
    • Constructor Summary

      Constructors 
      Constructor Description
      DiffSet​(java.util.Map<java.lang.String,​java.lang.Object> introspectionOld, java.util.Map<java.lang.String,​java.lang.Object> introspectionNew)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static DiffSet diffSet​(GraphQLSchema schemaOld, GraphQLSchema schemaNew)
      Deprecated.
      Creates a diff set out of the result of 2 schemas.
      static DiffSet diffSet​(java.util.Map<java.lang.String,​java.lang.Object> introspectionOld, java.util.Map<java.lang.String,​java.lang.Object> introspectionNew)
      Deprecated.
      Creates a diff set out of the result of 2 introspection queries.
      java.util.Map<java.lang.String,​java.lang.Object> getNew()
      Deprecated.
       
      java.util.Map<java.lang.String,​java.lang.Object> getOld()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiffSet

        public DiffSet​(java.util.Map<java.lang.String,​java.lang.Object> introspectionOld,
                       java.util.Map<java.lang.String,​java.lang.Object> introspectionNew)
        Deprecated.
    • Method Detail

      • getOld

        public java.util.Map<java.lang.String,​java.lang.Object> getOld()
        Deprecated.
        Returns:
        the old API as an introspection result
      • getNew

        public java.util.Map<java.lang.String,​java.lang.Object> getNew()
        Deprecated.
        Returns:
        the new API as an introspection result
      • diffSet

        public static DiffSet diffSet​(java.util.Map<java.lang.String,​java.lang.Object> introspectionOld,
                                      java.util.Map<java.lang.String,​java.lang.Object> introspectionNew)
        Deprecated.
        Creates a diff set out of the result of 2 introspection queries.
        Parameters:
        introspectionOld - the older introspection query
        introspectionNew - the newer introspection query
        Returns:
        a diff set representing them
      • diffSet

        public static DiffSet diffSet​(GraphQLSchema schemaOld,
                                      GraphQLSchema schemaNew)
        Deprecated.
        Creates a diff set out of the result of 2 schemas.
        Parameters:
        schemaOld - the older schema
        schemaNew - the newer schema
        Returns:
        a diff set representing them