Interface ImportInfo


public interface ImportInfo
ImportInfo...
  • Method Details

    • getNameList

      @Deprecated NodeNameList getNameList()
      Deprecated.
      since 3.1 use getInfos() to retrieve information about names
      Returns:
      the name list
    • 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
    • getInfos

      Returns the import information
      Returns:
      the import information
      Since:
      3.1
    • getInfo

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

      TreeMap<String,ImportInfo.Type> getModifications()
      Returns the modifications of all infos
      Returns:
      the modifications
    • getError

      @Deprecated Exception getError(String path)
      Deprecated.
      since 3.1 use getInfo(String).getError()
      Parameters:
      path - the path
      Returns:
      the error exception
    • 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