net.sf.vcaperture.tool.listeners
Class LocalStorageTool
java.lang.Object
net.sf.vcaperture.tool.listeners.AbstractToolListener
net.sf.vcaperture.tool.listeners.LocalStorageTool
- All Implemented Interfaces:
- IRepositoryToolListener
public class LocalStorageTool
- extends AbstractToolListener
This tool stores everything from the repository into a local database.
- Author:
- Jeremy Thomerson (jthomerson@users.sourceforge.net)
- See Also:
ProcessedRepository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAX_REVISION_PER_BATCH
public static final int DEFAULT_MAX_REVISION_PER_BATCH
- See Also:
- Constant Field Values
mStorageService
private ILocalStorageService mStorageService
mMaxRevisionsPerBatch
private int mMaxRevisionsPerBatch
LocalStorageTool
public LocalStorageTool()
processRepository
public boolean processRepository(IRepositoryService repositoryService,
AbstractRepository repo)
- Specified by:
processRepository
in interface IRepositoryToolListener
- Overrides:
processRepository
in class AbstractToolListener
setStorageService
public void setStorageService(ILocalStorageService storageService)
getStorageService
public ILocalStorageService getStorageService()
getMaxRevisionsPerBatch
public int getMaxRevisionsPerBatch()
setMaxRevisionsPerBatch
public void setMaxRevisionsPerBatch(int maxRevisionsPerBatch)
Copyright © 2008. All Rights Reserved.