net.sf.vcaperture.services
Class DefaultRepositoryService
java.lang.Object
net.sf.vcaperture.services.DefaultRepositoryService
- All Implemented Interfaces:
- IRepositoryService
- Direct Known Subclasses:
- ProcessedRepositoryService
public class DefaultRepositoryService
- extends java.lang.Object
- implements IRepositoryService
The default repository service with a working general implementation.
- Author:
- Jeremy Thomerson (jthomerson@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPO_CONFIG_FILE
public static final java.lang.String REPO_CONFIG_FILE
- See Also:
- Constant Field Values
mConfiguration
private RepositoryConfiguration mConfiguration
mWorkingDirectory
private java.io.File mWorkingDirectory
DefaultRepositoryService
public DefaultRepositoryService()
initialize
protected void initialize()
- This method should be called after the working directory is set. This will load
the repositories from the configuration file.
getRepository
public AbstractRepository getRepository(java.lang.String repositoryName)
- Specified by:
getRepository
in interface IRepositoryService
getRepositories
public java.util.Collection<AbstractRepository> getRepositories()
- Specified by:
getRepositories
in interface IRepositoryService
setRepositories
public void setRepositories(java.util.Collection<AbstractRepository> repos)
getWorkingDirectory
public java.io.File getWorkingDirectory()
- Specified by:
getWorkingDirectory
in interface IRepositoryService
setWorkingDirectory
public void setWorkingDirectory(java.io.File directory)
Copyright © 2008. All Rights Reserved.