限定符和类型 | 类和说明 |
---|---|
class |
FTPConfig
sftp和ftp共用
Created by rinoux on 2018/5/2.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
RepositoryFactoryProvider<T extends RepositoryConfig>
Created by rinoux on 2018/3/20.
|
限定符和类型 | 方法和说明 |
---|---|
<T extends RepositoryConfig> |
FactoryLoaderProvider.add(RepositoryFactoryProvider<T> factory)
载入一个工厂
|
<T extends RepositoryConfig> |
FactoryLoaderProvider.get(java.lang.String identity)
查找工厂
|
限定符和类型 | 类和说明 |
---|---|
class |
ConfigRepositoryFactory<T extends RepositoryConfig>
要求配置的仓库工厂
Created by rinoux on 2018/6/26.
|
限定符和类型 | 方法和说明 |
---|---|
ResourceRepository |
SimpleRepositoryFactory.produce(java.lang.String repoName,
java.lang.String workRoot,
RepositoryConfig config) |
boolean |
SimpleRepositoryFactory.verifyConfig(RepositoryConfig config) |
限定符和类型 | 接口和说明 |
---|---|
interface |
RepositoryConfigManagerProvider<T extends RepositoryConfig>
某类型仓库的所有配置管理
Created by rinoux on 2018/4/2.
|
限定符和类型 | 类和说明 |
---|---|
class |
CommonRepoConfig
通用仓库配置
需要协议、host、端口、用户名、密码的仓库的通用配置
如果还有其它配置,可以继承本类,也可以单独使用
Created by rinoux on 2018/6/29.
|
限定符和类型 | 方法和说明 |
---|---|
static <T extends RepositoryConfig> |
ResourceModuleContext.getRepoConfig(java.lang.String identity,
java.lang.String repoName)
获取已安装仓库的配置
|
static <T extends RepositoryConfig> |
ResourceModuleContext.verifyRepoConfig(java.lang.String repoType,
T config)
验证仓库配置
|
限定符和类型 | 类和说明 |
---|---|
class |
InstalledComponent<T extends RepositoryConfig>
Created by rinoux on 2018/3/26.
|
class |
RepositoryProfile<T extends RepositoryConfig>
Created by rinoux on 2018/3/26.
|
限定符和类型 | 方法和说明 |
---|---|
static <T extends RepositoryConfig> |
RepoConfigHelper.configToMap(T config) |
static <T extends RepositoryConfig> |
ProfileFactory.create(java.lang.String identity,
java.lang.String repoName,
java.lang.String workRoot) |
static <T extends RepositoryConfig> |
ProfileFactory.create(java.lang.String identity,
java.lang.String repoName,
java.lang.String workRoot,
boolean shared) |
static <T extends RepositoryConfig> |
ProfileFactory.create(java.lang.String identity,
java.lang.String repoName,
java.lang.String workRoot,
boolean shared,
java.util.Map<java.lang.String,java.lang.Object> params) |
static <T extends RepositoryConfig> |
ProfileFactory.create(java.lang.String identity,
java.lang.String repoName,
java.lang.String workRoot,
boolean shared,
T config) |
static <T extends RepositoryConfig> |
ProfileFactory.create(java.lang.String identity,
java.lang.String repoName,
java.lang.String workRoot,
java.util.Map<java.lang.String,java.lang.Object> params) |
static <T extends RepositoryConfig> |
ProfileFactory.create(java.lang.String identity,
java.lang.String repoName,
java.lang.String workRoot,
T config) |
static <T extends RepositoryConfig> |
ProfileFactory.createConfig(java.lang.String identity,
java.util.Map<java.lang.String,java.lang.Object> params) |
static <T extends RepositoryConfig> |
RepoConfigHelper.getConfigFields(java.lang.Class<T> clazz)
获取一个配置类的所有配置项以及值类型
|
static <T extends RepositoryConfig> |
ProfileFactory.register(java.lang.String identity,
java.lang.Class<? extends RepositoryProfile<T>> profileClazz,
java.lang.Class<T> configClazz) |
限定符和类型 | 方法和说明 |
---|---|
RepositoryConfig |
SimpleRepositoryProfile.getConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
SimpleRepositoryProfile.setConfig(RepositoryConfig config) |
限定符和类型 | 方法和说明 |
---|---|
<T extends RepositoryConfig> |
FactoryLoader.add(RepositoryFactoryProvider<T> factory) |
<T extends RepositoryConfig> |
FactoryLoader.get(java.lang.String identity) |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractRepositoryFactoryProvider<T extends RepositoryConfig>
Created by rinoux on 2018/3/13.
|
interface |
ResourceRepositoryFactoryProvider<T extends RepositoryConfig>
仓库工厂插件接口
Created by rinoux on 2018/3/13.
|
限定符和类型 | 方法和说明 |
---|---|
<T extends RepositoryConfig> |
FineFileServer.getRepoConfig()
获取配置
|