Package | Description |
---|---|
org.tinygroup.remoteconfig.config | |
org.tinygroup.remoteconfig.manager | |
org.tinygroup.remoteconfig.zk.client | |
org.tinygroup.remoteconfig.zk.manager.impl |
Modifier and Type | Method and Description |
---|---|
List<Environment> |
Version.getEnvironment() |
Modifier and Type | Method and Description |
---|---|
void |
Version.setEnvironment(List<Environment> environment) |
Modifier and Type | Method and Description |
---|---|
Environment |
EnvironmentManager.add(Environment env)
添加一个默认环境
|
Environment |
EnvironmentManager.add(Environment env,
String versionId,
String productId) |
Environment |
EnvironmentManager.get(String envId)
查询一个环境
|
Environment |
EnvironmentManager.get(String envId,
String versionId,
String productId) |
Modifier and Type | Method and Description |
---|---|
List<Environment> |
EnvironmentManager.query(String versionId,
String productId)
批量查询,如果项目ID或者版本为空的情况下,返回默认环境
|
Modifier and Type | Method and Description |
---|---|
Environment |
EnvironmentManager.add(Environment env)
添加一个默认环境
|
Environment |
EnvironmentManager.add(Environment env,
String versionId,
String productId) |
void |
EnvironmentManager.update(Environment env)
修改一个默认环境
|
void |
EnvironmentManager.update(Environment env,
String versionId,
String productId) |
Modifier and Type | Method and Description |
---|---|
static Environment |
ZKDefaultEnvManager.get(String key) |
static Environment |
ZKEnvManager.get(String key,
ConfigPath configPath) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Environment> |
ZKDefaultEnvManager.getAll() |
static Map<String,Environment> |
ZKEnvManager.getAll(ConfigPath configPath) |
Modifier and Type | Method and Description |
---|---|
static void |
ZKDefaultEnvManager.set(String key,
Environment environment) |
static void |
ZKEnvManager.set(String key,
Environment environment,
ConfigPath configPath) |
Modifier and Type | Method and Description |
---|---|
Environment |
EnvironmentManagerImpl.add(Environment env) |
Environment |
EnvironmentManagerImpl.add(Environment env,
String versionId,
String productId) |
Environment |
EnvironmentManagerImpl.get(String envId) |
Environment |
EnvironmentManagerImpl.get(String envId,
String versionId,
String productId) |
Modifier and Type | Method and Description |
---|---|
List<Environment> |
EnvironmentManagerImpl.query(String versionId,
String productId) |
Modifier and Type | Method and Description |
---|---|
Environment |
EnvironmentManagerImpl.add(Environment env) |
Environment |
EnvironmentManagerImpl.add(Environment env,
String versionId,
String productId) |
void |
EnvironmentManagerImpl.update(Environment env) |
void |
EnvironmentManagerImpl.update(Environment env,
String versionId,
String productId) |
Copyright © 2006–2018 TinyGroup. All rights reserved.