Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit eb22158

Browse files
committed
Remove platform and ComposedTaskJobExecutionStatus getters/setters
These are not used by the thinTaskExecutions and can be removed Also removed platformName because it is not used at all. Unlike ComposedTaskJobExecutionStatusi that is used for setting the status and initialized through the constructor. This was to be a part of PR #5813 but was missed by the committer.
1 parent d1ba772 commit eb22158

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

spring-cloud-dataflow-rest-resource/src/main/java/org/springframework/cloud/dataflow/rest/resource/TaskExecutionThinResource.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public class TaskExecutionThinResource extends RepresentationModel<TaskExecution
7979

8080
private String schemaTarget;
8181

82-
private String platformName;
8382

8483
public TaskExecutionThinResource() {
8584
}
@@ -88,7 +87,6 @@ public TaskExecutionThinResource(AggregateTaskExecution aggregateTaskExecution)
8887
this.executionId = aggregateTaskExecution.getExecutionId();
8988
this.schemaTarget = aggregateTaskExecution.getSchemaTarget();
9089
this.taskName = aggregateTaskExecution.getTaskName();
91-
this.platformName = aggregateTaskExecution.getPlatformName();
9290
this.externalExecutionId = aggregateTaskExecution.getExternalExecutionId();
9391
this.parentExecutionId =aggregateTaskExecution.getParentExecutionId();
9492
this.startTime = aggregateTaskExecution.getStartTime();
@@ -179,25 +177,10 @@ public void setSchemaTarget(String schemaTarget) {
179177
this.schemaTarget = schemaTarget;
180178
}
181179

182-
public String getPlatformName() {
183-
return platformName;
184-
}
185-
186-
public void setPlatformName(String platformName) {
187-
this.platformName = platformName;
188-
}
189180
public void setTaskExecutionStatus(String taskExecutionStatus) {
190181
this.taskExecutionStatus = taskExecutionStatus;
191182
}
192183

193-
public String getComposedTaskJobExecutionStatus() {
194-
return composedTaskJobExecutionStatus;
195-
}
196-
197-
public void setComposedTaskJobExecutionStatus(String composedTaskJobExecutionStatus) {
198-
this.composedTaskJobExecutionStatus = composedTaskJobExecutionStatus;
199-
}
200-
201184
/**
202185
* Returns the calculated status of this {@link TaskExecution}.
203186
*

0 commit comments

Comments
 (0)