public class RepositoryInstaller extends java.lang.Object implements RepositoryInstallerProvider
Created by rinoux on 2018/3/7.
构造器和说明 |
---|
RepositoryInstaller() |
限定符和类型 | 方法和说明 |
---|---|
InstalledComponent |
find(java.lang.String repoName)
获取安装的仓库
|
java.util.Map<java.lang.String,InstalledComponent> |
findAll()
所有安装的仓库
|
static RepositoryInstallerProvider |
getInstance() |
InstalledComponent |
install(RepositoryProfile profile)
安装仓库
|
void |
uninstall(java.lang.String repoName)
卸载仓库
|
public static RepositoryInstallerProvider getInstance()
public InstalledComponent install(RepositoryProfile profile)
RepositoryInstallerProvider
install
在接口中 RepositoryInstallerProvider
profile
- 仓库描述public void uninstall(java.lang.String repoName)
RepositoryInstallerProvider
uninstall
在接口中 RepositoryInstallerProvider
repoName
- 名称public java.util.Map<java.lang.String,InstalledComponent> findAll()
RepositoryInstallerProvider
findAll
在接口中 RepositoryInstallerProvider
public InstalledComponent find(java.lang.String repoName)
RepositoryInstallerProvider
find
在接口中 RepositoryInstallerProvider
repoName
- 名称