Skip to content

Commit

Permalink
Remove platform and ComposedTaskJobExecutionStatus getters/setters
Browse files Browse the repository at this point in the history
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 spring-cloud#5813 but was missed by the committer.
  • Loading branch information
cppwfs committed May 15, 2024
1 parent d1ba772 commit eb22158
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public class TaskExecutionThinResource extends RepresentationModel<TaskExecution

private String schemaTarget;

private String platformName;

public TaskExecutionThinResource() {
}
Expand All @@ -88,7 +87,6 @@ public TaskExecutionThinResource(AggregateTaskExecution aggregateTaskExecution)
this.executionId = aggregateTaskExecution.getExecutionId();
this.schemaTarget = aggregateTaskExecution.getSchemaTarget();
this.taskName = aggregateTaskExecution.getTaskName();
this.platformName = aggregateTaskExecution.getPlatformName();
this.externalExecutionId = aggregateTaskExecution.getExternalExecutionId();
this.parentExecutionId =aggregateTaskExecution.getParentExecutionId();
this.startTime = aggregateTaskExecution.getStartTime();
Expand Down Expand Up @@ -179,25 +177,10 @@ public void setSchemaTarget(String schemaTarget) {
this.schemaTarget = schemaTarget;
}

public String getPlatformName() {
return platformName;
}

public void setPlatformName(String platformName) {
this.platformName = platformName;
}
public void setTaskExecutionStatus(String taskExecutionStatus) {
this.taskExecutionStatus = taskExecutionStatus;
}

public String getComposedTaskJobExecutionStatus() {
return composedTaskJobExecutionStatus;
}

public void setComposedTaskJobExecutionStatus(String composedTaskJobExecutionStatus) {
this.composedTaskJobExecutionStatus = composedTaskJobExecutionStatus;
}

/**
* Returns the calculated status of this {@link TaskExecution}.
*
Expand Down

0 comments on commit eb22158

Please sign in to comment.