Class NodeStoreInspector


  • public class NodeStoreInspector
    extends Object
    Debug class that has methods to inspect the contents of a node store.
    Author:
    Roy Wetherall
    • Constructor Detail

      • NodeStoreInspector

        public NodeStoreInspector()
    • Method Detail

      • dumpNodeStore

        public static String dumpNodeStore​(org.alfresco.service.cmr.repository.NodeService nodeService,
                                           org.alfresco.service.cmr.repository.StoreRef storeRef)
        Dumps the contents of a store to a string.
        Parameters:
        nodeService - the node service
        storeRef - the store reference
        Returns:
        string containing textual representation of the contents of the store
      • dumpNode

        public static String dumpNode​(org.alfresco.service.cmr.repository.NodeService nodeService,
                                      org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Dumps the contents of a node
        Parameters:
        nodeService - NodeService
        nodeRef - NodeRef
        Returns:
        String