Class DiffOperation


  • public class DiffOperation
    extends Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DiffOperation.Type  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.github.fge.jackson.jsonpointer.JsonPointer from  
      protected com.fasterxml.jackson.databind.JsonNode oldValue  
      protected com.github.fge.jackson.jsonpointer.JsonPointer path  
      protected DiffOperation.Type type  
      protected com.fasterxml.jackson.databind.JsonNode value  
    • Constructor Summary

      Constructors 
      Constructor Description
      DiffOperation​(DiffOperation.Type type, com.github.fge.jackson.jsonpointer.JsonPointer from, com.fasterxml.jackson.databind.JsonNode oldValue, com.github.fge.jackson.jsonpointer.JsonPointer path, com.fasterxml.jackson.databind.JsonNode value)  
    • Field Detail

      • from

        protected final com.github.fge.jackson.jsonpointer.JsonPointer from
      • oldValue

        protected final com.fasterxml.jackson.databind.JsonNode oldValue
      • path

        protected final com.github.fge.jackson.jsonpointer.JsonPointer path
      • value

        protected final com.fasterxml.jackson.databind.JsonNode value
    • Constructor Detail

      • DiffOperation

        public DiffOperation​(DiffOperation.Type type,
                             com.github.fge.jackson.jsonpointer.JsonPointer from,
                             com.fasterxml.jackson.databind.JsonNode oldValue,
                             com.github.fge.jackson.jsonpointer.JsonPointer path,
                             com.fasterxml.jackson.databind.JsonNode value)
        Parameters:
        type -
        from -
        oldValue -
        path -
        value -
    • Method Detail

      • add

        public static DiffOperation add​(com.github.fge.jackson.jsonpointer.JsonPointer path,
                                        com.fasterxml.jackson.databind.JsonNode value)
      • copy

        public static DiffOperation copy​(com.github.fge.jackson.jsonpointer.JsonPointer from,
                                         com.github.fge.jackson.jsonpointer.JsonPointer path,
                                         com.fasterxml.jackson.databind.JsonNode value)
      • move

        public static DiffOperation move​(com.github.fge.jackson.jsonpointer.JsonPointer from,
                                         com.fasterxml.jackson.databind.JsonNode oldValue,
                                         com.github.fge.jackson.jsonpointer.JsonPointer path,
                                         com.fasterxml.jackson.databind.JsonNode value)
      • remove

        public static DiffOperation remove​(com.github.fge.jackson.jsonpointer.JsonPointer from,
                                           com.fasterxml.jackson.databind.JsonNode oldValue)
      • replace

        public static DiffOperation replace​(com.github.fge.jackson.jsonpointer.JsonPointer from,
                                            com.fasterxml.jackson.databind.JsonNode oldValue,
                                            com.fasterxml.jackson.databind.JsonNode value)
      • getFrom

        public com.github.fge.jackson.jsonpointer.JsonPointer getFrom()
      • getOldValue

        public com.fasterxml.jackson.databind.JsonNode getOldValue()
      • getPath

        public com.github.fge.jackson.jsonpointer.JsonPointer getPath()
      • getValue

        public com.fasterxml.jackson.databind.JsonNode getValue()