public class DefaultTaskSaveService extends Object implements TaskSaveService
DefaultTaskSaveService
interface. Provide service
methods for Task saving.Modifier and Type | Field and Description |
---|---|
protected org.springframework.cloud.dataflow.audit.service.AuditRecordService |
auditRecordService |
Constructor and Description |
---|
DefaultTaskSaveService(TaskDefinitionRepository taskDefinitionRepository,
org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService,
AppRegistryService registry) |
Modifier and Type | Method and Description |
---|---|
void |
saveTaskDefinition(TaskDefinition taskDefinition)
Saves the task definition.
|
protected final org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService
public DefaultTaskSaveService(TaskDefinitionRepository taskDefinitionRepository, org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService, AppRegistryService registry)
@Transactional public void saveTaskDefinition(TaskDefinition taskDefinition)
TaskSaveService
saveTaskDefinition
in interface TaskSaveService
taskDefinition
- the task definition objectCopyright © 2024 Pivotal Software, Inc.. All rights reserved.