public String getServiceName() { return rulesDeploy.getServiceName(); }
public String getServiceName() { return rulesDeploy.getServiceName(); }
private String buildServiceName(Deployment deployment, String projectName, RulesDeploy rulesDeploy) { if (rulesDeploy != null) { if (StringUtils.isNotEmpty(rulesDeploy.getServiceName())) { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { return rulesDeploy.getServiceName() + "(version=" + rulesDeploy.getVersion() + ")"; } else { return rulesDeploy.getServiceName(); } } else { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { return deployment.getDeploymentName() + '_' + projectName + "(version=" + rulesDeploy .getVersion() + ")"; } } } return deployment.getDeploymentName() + '_' + projectName; }
private String buildServiceName(Deployment deployment, String projectName, RulesDeploy rulesDeploy) { if (rulesDeploy != null) { if (StringUtils.isNotEmpty(rulesDeploy.getServiceName())) { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { return rulesDeploy.getServiceName() + "(version=" + rulesDeploy.getVersion() + ")"; } else { return rulesDeploy.getServiceName(); } } else { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { return deployment.getDeploymentName() + '_' + projectName + "(version=" + rulesDeploy .getVersion() + ")"; } } } return deployment.getDeploymentName() + '_' + projectName; }
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl());
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl());
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl());
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl());
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl());
@Override public RulesDeploy_v5_11 toOldVersion(RulesDeploy currentVersion) { RulesDeploy_v5_11 rulesDeploy = new RulesDeploy_v5_11(); rulesDeploy.setConfiguration(currentVersion.getConfiguration()); rulesDeploy.setInterceptingTemplateClassName(currentVersion.getInterceptingTemplateClassName()); rulesDeploy.setProvideRuntimeContext(currentVersion.isProvideRuntimeContext()); rulesDeploy.setProvideVariations(currentVersion.isProvideVariations()); rulesDeploy.setServiceClass(currentVersion.getServiceClass()); rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl()); return rulesDeploy; } }
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl());
@Override public RulesDeploy_v5_11 toOldVersion(RulesDeploy currentVersion) { RulesDeploy_v5_11 rulesDeploy = new RulesDeploy_v5_11(); rulesDeploy.setConfiguration(currentVersion.getConfiguration()); rulesDeploy.setInterceptingTemplateClassName(currentVersion.getInterceptingTemplateClassName()); rulesDeploy.setProvideRuntimeContext(currentVersion.isProvideRuntimeContext()); rulesDeploy.setProvideVariations(currentVersion.isProvideVariations()); rulesDeploy.setServiceClass(currentVersion.getServiceClass()); rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl()); return rulesDeploy; } }
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl()); rulesDeploy.setVersion(currentVersion.getVersion());
rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl()); rulesDeploy.setVersion(currentVersion.getVersion());