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(String name,
String dsl)
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(String name, String dsl)
TaskSaveServicesaveTaskDefinition in interface TaskSaveServicename - The name of the task.dsl - The dsl that comprises the task.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.