Package com.google.enterprise.connector.util.diffing

Examples of com.google.enterprise.connector.util.diffing.TraversalContextManager


    TraversalContext tc = new SimpleTraversalContext();
    MimeTypeDetector.setTraversalContext(tc);

    DBContext dbContext = getDbContext(configMap);

    TraversalContextManager traversalContextManager =
        new TraversalContextManager();
    traversalContextManager.setTraversalContext(tc);
    RepositoryHandler repositoryHandler =
        RepositoryHandler.makeRepositoryHandlerFromConfig(dbContext,
            traversalContextManager);
    return new DBSnapshotRepository(repositoryHandler);
  }
View Full Code Here


      super.tearDown();
    }
  }

  private RepositoryHandler getObjectUnderTest(DBContext dbContext) {
    TraversalContextManager traversalContextManager =
        new TraversalContextManager();
    traversalContextManager.setTraversalContext(new SimpleTraversalContext());
    return RepositoryHandler.makeRepositoryHandlerFromConfig(
        dbContext, traversalContextManager);
  }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.util.diffing.TraversalContextManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.