public class EnvironmentManagerImpl extends Object implements EnvironmentManager
Constructor and Description |
---|
EnvironmentManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Environment |
add(Environment env)
添加一个默认环境
|
Environment |
add(Environment env,
String versionId,
String productId) |
void |
delete(String envId)
删除一个默认环境
|
void |
delete(String envId,
String versionId,
String productId)
移联环境和指定产品版本的关联
|
Environment |
get(String envId)
查询一个环境
|
Environment |
get(String envId,
String versionId,
String productId) |
ModuleManager |
getModuleManager() |
List<Environment> |
query(String versionId,
String productId)
批量查询,如果项目ID或者版本为空的情况下,返回默认环境
|
void |
setModuleManager(ModuleManager moduleManager) |
void |
update(Environment env)
修改一个默认环境
|
void |
update(Environment env,
String versionId,
String productId) |
protected static final Logger LOGGER
public ModuleManager getModuleManager()
public void setModuleManager(ModuleManager moduleManager)
public Environment add(Environment env, String versionId, String productId)
add
in interface EnvironmentManager
public void update(Environment env, String versionId, String productId)
update
in interface EnvironmentManager
public void delete(String envId, String versionId, String productId)
EnvironmentManager
delete
in interface EnvironmentManager
public Environment get(String envId, String versionId, String productId)
get
in interface EnvironmentManager
public List<Environment> query(String versionId, String productId)
EnvironmentManager
query
in interface EnvironmentManager
public Environment add(Environment env)
EnvironmentManager
add
in interface EnvironmentManager
public void update(Environment env)
EnvironmentManager
update
in interface EnvironmentManager
public void delete(String envId)
EnvironmentManager
delete
in interface EnvironmentManager
public Environment get(String envId)
EnvironmentManager
get
in interface EnvironmentManager
Copyright © 2006–2018 TinyGroup. All rights reserved.