Skip to content

Commit

Permalink
Merge pull request #702 from matejonnet/v0.7
Browse files Browse the repository at this point in the history
Rename RepourAdjust to VersionAdjust.
  • Loading branch information
matejonnet committed Nov 18, 2015
2 parents 5ebc04e + c4a7e66 commit 69da412
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -163,7 +163,7 @@ void fillComponentParameters(Map<String, Object> parameters, BuildTask buildTask
.map(bc -> bc.getName())
.collect(Collectors.toList()));//Is it correct?
params.put("CommunityBuild", Optional.ofNullable(moduleConfig.getCommunityBuild()).orElse("true"));
params.put("RepourAdjust", Optional.ofNullable(moduleConfig.getRepourAdjust()).orElse("false"));
params.put("VersionAdjust", Optional.ofNullable(moduleConfig.getVersionAdjust()).orElse("false"));
params.put("EnvironmentId", Optional.of(buildTask.getBuildConfiguration())
.map(BuildConfiguration::getBuildEnvironment)
.map(BuildEnvironment::getId)
Expand Down
Expand Up @@ -34,7 +34,7 @@ public class BpmModuleConfig extends AbstractModuleConfig {
private String deploymentId;
private String processId;
private String communityBuild;
private String repourAdjust;
private String versionAdjust;

public BpmModuleConfig(@JsonProperty("username") String username,
@JsonProperty("password") String password,
Expand All @@ -47,7 +47,7 @@ public BpmModuleConfig(@JsonProperty("username") String username,
@JsonProperty("repourBaseUrl") String repourBaseUrl,
@JsonProperty("daBaseUrl") String daBaseUrl,
@JsonProperty("communityBuild") String communityBuild,
@JsonProperty("repourAdjust") String repourAdjust)
@JsonProperty("versionAdjust") String versionAdjust)
throws MalformedURLException {
this.username = username;
this.password = password;
Expand All @@ -60,7 +60,7 @@ public BpmModuleConfig(@JsonProperty("username") String username,
this.repourBaseUrl = repourBaseUrl;
this.daBaseUrl = daBaseUrl;
this.communityBuild = communityBuild;
this.repourAdjust = repourAdjust;
this.versionAdjust = versionAdjust;
}

public String getUsername() {
Expand Down Expand Up @@ -115,8 +115,8 @@ public String getCommunityBuild() {
return communityBuild;
}

public String getRepourAdjust() {
return repourAdjust;
public String getVersionAdjust() {
return versionAdjust;
}

@Override
Expand All @@ -132,7 +132,7 @@ public String toString() {
", deploymentId='" + deploymentId + '\'' +
", processId='" + processId + '\'' +
", communityBuild='" + communityBuild + '\'' +
", repourAdjust='" + repourAdjust + '\'' +
", versionAdjust='" + versionAdjust + '\'' +
'}';
}

Expand Down

0 comments on commit 69da412

Please sign in to comment.