Class DiffContext


  • public class DiffContext
    extends Object
    Author:
    Jakub Senko 'jsenko@redhat.com'
    • Method Detail

      • createRootContext

        public static DiffContext createRootContext​(String basePathFragmentUpdated,
                                                    Set<org.everit.json.schema.SchemaLocation> visited)
      • createRootContext

        public static DiffContext createRootContext()
      • addDifference

        public void addDifference​(DiffType type,
                                  Object originalSubchema,
                                  Object updatedSubchema)
      • log

        public void log​(String message)
      • foundIncompatibleDifference

        public boolean foundIncompatibleDifference()
        Return true, if this context contains an incompatible difference.
      • getIncompatibleDifferences

        public Set<Difference> getIncompatibleDifferences()
      • foundAllDifferencesAreCompatible

        public boolean foundAllDifferencesAreCompatible()