public class DeployHelperConfiguration extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ROOT_CONFIG_NAME |
| 构造器和说明 |
|---|
DeployHelperConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDeployProfile() |
List<DeployHelperDeploy> |
getDeploys() |
DeployHelperDeploy |
getProfileDeploy() |
DeployHelperServer |
getProfileServer() |
String |
getServerProfile() |
List<DeployHelperServer> |
getServers() |
void |
load(File file)
初始化读取Xml配置文件
|
void |
profile()
根据配置文件切换profile
|
void |
setDeployProfile(String deployProfile) |
void |
setDeploys(List<DeployHelperDeploy> deploys) |
void |
setProfileDeploy(DeployHelperDeploy profileDeploy) |
void |
setProfileServer(DeployHelperServer profileServer) |
void |
setServerProfile(String serverProfile) |
void |
setServers(List<DeployHelperServer> servers) |
public void load(File file) throws org.dom4j.DocumentException
file - 初始化文件org.dom4j.DocumentException - 解析Xml异常public void profile()
public String getServerProfile()
public void setServerProfile(String serverProfile)
public String getDeployProfile()
public void setDeployProfile(String deployProfile)
public List<DeployHelperServer> getServers()
public void setServers(List<DeployHelperServer> servers)
public List<DeployHelperDeploy> getDeploys()
public void setDeploys(List<DeployHelperDeploy> deploys)
public DeployHelperServer getProfileServer()
public void setProfileServer(DeployHelperServer profileServer)
public DeployHelperDeploy getProfileDeploy()
public void setProfileDeploy(DeployHelperDeploy profileDeploy)
Copyright © 2020. All rights reserved.