Class DiffSummary

    • Constructor Detail

      • DiffSummary

        public DiffSummary​(java.lang.String path,
                           DiffSummary.DiffKind diffKind,
                           boolean propsChanged,
                           NodeKind nodeKind)
        This constructor is to be used by the native code.
        Parameters:
        path - The path we have a diff for.
        diffKind - The kind of diff this describes.
        propsChanged - Whether any properties have changed.
        nodeKind - The type of node which changed (corresponds to the NodeKind enumeration).
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Returns:
        The path we have a diff for.
      • getDiffKind

        public DiffSummary.DiffKind getDiffKind()
        Returns:
        The kind of summary this describes.
      • propsChanged

        public boolean propsChanged()
        Returns:
        Whether any properties have changed.
      • getNodeKind

        public NodeKind getNodeKind()
        Returns:
        The type of node which changed (corresponds to the NodeKind enumeration).
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject
        Returns:
        The path.