Class DefaultTaskSaveService
java.lang.Object
org.springframework.cloud.dataflow.server.service.impl.DefaultTaskSaveService
- All Implemented Interfaces:
TaskSaveService
Default implementation of the
DefaultTaskSaveService
interface. Provide service
methods for Task saving.- Author:
- Michael Minella, Marius Bogoevici, Glenn Renfro, Mark Fisher, Janne Valkealahti, Gunnar Hillert, Thomas Risberg, Ilayaperumal Gopinathan, Michael Wirth, David Turanski, Daniel Serleg, Chris Schaefer
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.springframework.cloud.dataflow.audit.service.AuditRecordService
-
Constructor Summary
ConstructorDescriptionDefaultTaskSaveService
(TaskDefinitionRepository taskDefinitionRepository, org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService, AppRegistryService registry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
saveTaskDefinition
(TaskDefinition taskDefinition) Saves the task definition.
-
Field Details
-
auditRecordService
protected final org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService
-
-
Constructor Details
-
DefaultTaskSaveService
public DefaultTaskSaveService(TaskDefinitionRepository taskDefinitionRepository, org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService, AppRegistryService registry)
-
-
Method Details
-
saveTaskDefinition
Description copied from interface:TaskSaveService
Saves the task definition. If it is a Composed Task then the task definitions required for a ComposedTaskRunner task are also created.- Specified by:
saveTaskDefinition
in interfaceTaskSaveService
- Parameters:
taskDefinition
- the task definition object
-