public String getUrl() { return rulesDeploy.getUrl(); }
public String getUrl() { return rulesDeploy.getUrl(); }
private String buildServiceUrl(Deployment deployment, String projectName, RulesDeploy rulesDeploy) { if (rulesDeploy != null) { if (StringUtils.isNotEmpty(rulesDeploy.getUrl())) { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { if (rulesDeploy.getUrl().startsWith("/")) { return "/" + rulesDeploy.getVersion() + rulesDeploy.getUrl(); } else { return "/" + rulesDeploy.getVersion() + "/" + rulesDeploy.getUrl(); } } else { return rulesDeploy.getUrl(); } } else { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { return "/" + rulesDeploy.getVersion() + "/" + deployment.getDeploymentName() + '/' + projectName; } } } return deployment.getDeploymentName() + '/' + projectName; }
private String buildServiceUrl(Deployment deployment, String projectName, RulesDeploy rulesDeploy) { if (rulesDeploy != null) { if (StringUtils.isNotEmpty(rulesDeploy.getUrl())) { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { if (rulesDeploy.getUrl().startsWith("/")) { return "/" + rulesDeploy.getVersion() + rulesDeploy.getUrl(); } else { return "/" + rulesDeploy.getVersion() + "/" + rulesDeploy.getUrl(); } } else { return rulesDeploy.getUrl(); } } else { if (StringUtils.isNotEmpty(rulesDeploy.getVersion())) { return "/" + rulesDeploy.getVersion() + "/" + deployment.getDeploymentName() + '/' + projectName; } } } return deployment.getDeploymentName() + '/' + projectName; }
rulesDeploy.setUrl(currentVersion.getUrl());
rulesDeploy.setUrl(currentVersion.getUrl());
rulesDeploy.setUrl(currentVersion.getUrl());
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.setServiceClass(currentVersion.getServiceClass()); rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl());
rulesDeploy.setServiceClass(currentVersion.getServiceClass()); 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.setServiceClass(currentVersion.getServiceClass()); rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl()); rulesDeploy.setVersion(currentVersion.getVersion());
rulesDeploy.setServiceClass(currentVersion.getServiceClass()); rulesDeploy.setServiceName(currentVersion.getServiceName()); rulesDeploy.setUrl(currentVersion.getUrl()); rulesDeploy.setVersion(currentVersion.getVersion());