Interface ImportInfo


  • public interface ImportInfo
    ImportInfo...
    • Method Detail

      • onModified

        void onModified​(String path)
        Marks that the node at path was modified.
        Parameters:
        path - the path
      • onNop

        void onNop​(String path)
        Marks that nothing changed at path
        Parameters:
        path - the path
      • onCreated

        void onCreated​(String path)
        Marks that the node at path was created.
        Parameters:
        path - the path
      • onStashed

        default void onStashed​(String path)
        Marks that the child node at path was moved due to stashing.
        Parameters:
        path - the path
        Since:
        3.7.0
      • onDeleted

        void onDeleted​(String path)
        Marks that the node at path was deleted.
        Parameters:
        path - the path
      • onReplaced

        void onReplaced​(String path)
        Marks that the node at path was replaced.
        Parameters:
        path - the path
      • onMissing

        @Deprecated
        void onMissing​(String path)
        Deprecated.
        Is no longer issued, as this depends on the registered node type definitions
        Marks that the node at path is missing.
        Parameters:
        path - the path
      • onError

        void onError​(String path,
                     Exception e)
        Marks that the node at path caused an error.
        Parameters:
        path - the path
        e - exception
      • getInfo

        ImportInfo.Info getInfo​(String path)
        Returns the info at path
        Parameters:
        path - path
        Returns:
        the info or null
        Since:
        3.1
      • getToVersion

        Collection<String> getToVersion()
        Returns a collection of UUIDs of the nodes that need to be versioned.
        Returns:
        a collection of UUIDs.
      • getMemberships

        Map<String,​String[]> getMemberships()
        Returns a list of memberships that need to be resolved
        Returns:
        a list of memberships
      • merge

        ImportInfo merge​(ImportInfo info)
        Merges an import info into this one.
        Parameters:
        info - the other info
        Returns:
        a new, merged info.
      • numModified

        int numModified()
        returns the number of non-NOP entries.
        Returns:
        the number of modified entries.
      • numErrors

        int numErrors()
        returns the number of errors
        Returns:
        the number of errors