IComponentsRepository
, ISynchronizer
public class AbstractFileSystemComponentRepository extends AbstractExtComponentRepository<RootBoundFSCRComponent,MultiRootFSComponentRepositoryDB>
AbstractExtComponentRepository.Repo, AbstractExtComponentRepository.RepoMBean
ALL
COMPONENT_REPO_IMPLEMENTATION, COMPONENT_REPO_MODE, COMPONENT_REPO_MODE_RELAXED, COMPONENT_REPO_MODE_STRICT
PRIO, TYPE
Constructor | Description |
---|---|
AbstractFileSystemComponentRepository(java.lang.String name,
int prio) |
|
AbstractFileSystemComponentRepository(java.lang.String name,
int prio,
int checkDepth) |
|
AbstractFileSystemComponentRepository(java.lang.String name,
int prio,
int checkDepth,
boolean autoConfigure) |
Constructor leaving a choice whether the repo completes configuration in
the constructor (defaults to true with the other constructors).
|
Modifier and Type | Method | Description |
---|---|---|
void |
download(RootBoundFSCRComponent c,
java.io.File folder) |
Provide all resources for a component into a given folder
|
java.util.Map<java.lang.String,? extends IAbstractFileSystem> |
getRoots() |
|
MultiRootFSComponentRepositoryDB |
scan(MultiRootFSComponentRepositoryDB current) |
The FSCR is scanning at startup always completely.
|
void |
setRoots(java.util.Map<java.lang.String,? extends IAbstractFileSystem> roots) |
Set roots within repo.
|
java.lang.String |
toString() |
as, checkOfflineMode, complete, configure, configure, configure, findComponents, findComponents, getCacheRoot, getComponent, getComponent, getContext, getDB, getExpectedConfiguration, getModules, getModules, getName, getRevision, getRevision, getRevision, getURL, has, isRelaxedMode, preInvalidation, preInvalidation, retrieve, retrieve, setEvictionDelay, start, stop, test_setContext, test_setDb, test_setInited
public AbstractFileSystemComponentRepository(java.lang.String name, int prio, int checkDepth)
public AbstractFileSystemComponentRepository(java.lang.String name, int prio, int checkDepth, boolean autoConfigure)
AbstractExtComponentRepository.configure(int)
method needs to be called explicitely before going into
service. This may be useful if AbstractExtComponentRepository.getExpectedConfiguration()
is used with
non-default values or other configuration is changed.public AbstractFileSystemComponentRepository(java.lang.String name, int prio)
public java.util.Map<java.lang.String,? extends IAbstractFileSystem> getRoots()
public void setRoots(java.util.Map<java.lang.String,? extends IAbstractFileSystem> roots)
public MultiRootFSComponentRepositoryDB scan(MultiRootFSComponentRepositoryDB current)
scan
in class AbstractExtComponentRepository<RootBoundFSCRComponent,MultiRootFSComponentRepositoryDB>
public void download(RootBoundFSCRComponent c, java.io.File folder)
download
in class AbstractExtComponentRepository<RootBoundFSCRComponent,MultiRootFSComponentRepositoryDB>
public java.lang.String toString()
toString
in class AbstractExtComponentRepository<RootBoundFSCRComponent,MultiRootFSComponentRepositoryDB>