public class DefaultTaskSaveService extends Object implements TaskSaveService
DefaultTaskSaveService
interface. Provide service
methods for Task saving.Modifier and Type | Field and Description |
---|---|
protected AuditRecordService |
auditRecordService |
Constructor and Description |
---|
DefaultTaskSaveService(TaskDefinitionRepository taskDefinitionRepository,
AuditRecordService auditRecordService,
AppRegistryService registry) |
Modifier and Type | Method and Description |
---|---|
void |
saveTaskDefinition(String name,
String dsl)
Saves the task definition.
|
protected final AuditRecordService auditRecordService
public DefaultTaskSaveService(TaskDefinitionRepository taskDefinitionRepository, AuditRecordService auditRecordService, AppRegistryService registry)
@Transactional public void saveTaskDefinition(String name, String dsl)
TaskSaveService
saveTaskDefinition
in interface TaskSaveService
name
- The name of the task.dsl
- The dsl that comprises the task.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.