public interface ResourceModuleManagerProvider
限定符和类型 | 方法和说明 |
---|---|
void |
addFactory(RepositoryFactoryProvider factory) |
void |
apply(java.lang.String repoName,
RepositoryApplyPolicy policy) |
boolean |
available() |
void |
discard(java.lang.String name) |
ResourceModuleConfigProvider |
getConfig() |
ResourceRepository |
getCurrentRepo()
获取当前存储
|
FactoryLoaderProvider |
getFactoryLoader() |
java.util.Set<java.lang.String> |
getInstalledRepos() |
RepositoryInstallerProvider |
getInstaller() |
RepositoryManagerProvider |
getManager() |
RepositoryContextProvider |
getProvider() |
ResourceRepository |
getRepoByName(java.lang.String name) |
java.util.Set<java.lang.String> |
getServiceRepos() |
InstalledComponent |
install(RepositoryProfile profile) |
void |
removeFactory(java.lang.String identity) |
void |
setProvider(RepositoryContextProvider provider) |
void |
uninstall(java.lang.String name) |
RepositoryContextProvider getProvider()
void setProvider(RepositoryContextProvider provider)
InstalledComponent install(RepositoryProfile profile)
void uninstall(java.lang.String name)
void addFactory(RepositoryFactoryProvider factory)
void removeFactory(java.lang.String identity)
void apply(java.lang.String repoName, RepositoryApplyPolicy policy) throws RepositoryException
void discard(java.lang.String name) throws RepositoryException
ResourceRepository getCurrentRepo()
ResourceRepository getRepoByName(java.lang.String name)
java.util.Set<java.lang.String> getServiceRepos()
java.util.Set<java.lang.String> getInstalledRepos()
boolean available()
RepositoryInstallerProvider getInstaller()
FactoryLoaderProvider getFactoryLoader()
ResourceModuleConfigProvider getConfig()
RepositoryManagerProvider getManager()