Interface TaskExecutionInfoService
- All Known Implementing Classes:
DefaultTaskExecutionInfoService
public interface TaskExecutionInfoService
Return the TaskExecutionInformation object given the task name and deployment
properties.
- Author:
- Daniel Serleg, Mark Pollack, David Turanski, Glenn Renfro
-
Method Summary
Modifier and TypeMethodDescriptioncomposedTaskChildNames
(String taskName) List<org.springframework.cloud.deployer.spi.core.AppDeploymentRequest>
createTaskDeploymentRequests
(String taskName, String dslText) Creates requests for a composed taskfindTaskExecutionInformation
(String taskName, Map<String, String> taskDeploymentProperties, boolean addDatabaseCredentials, Map<String, String> previousTaskDeploymentProperties) Create a theTaskExecutionInformation
instance for the information provided.
-
Method Details
-
findTaskExecutionInformation
TaskExecutionInformation findTaskExecutionInformation(String taskName, Map<String, String> taskDeploymentProperties, boolean addDatabaseCredentials, Map<String, String> previousTaskDeploymentProperties) Create a theTaskExecutionInformation
instance for the information provided.- Parameters:
taskName
- the name of the task definitiontaskDeploymentProperties
- the deployment properties to use for theTaskExecutionInformation
addDatabaseCredentials
- true if database credentials should be added to theTaskExecutionInformation
previousTaskDeploymentProperties
- the previous deployment properties to use for theTaskExecutionInformation
- Returns:
- instance of
TaskExecutionInformation
-
findAllPlatformTaskExecutionInformation
AllPlatformsTaskExecutionInformation findAllPlatformTaskExecutionInformation() -
createTaskDeploymentRequests
List<org.springframework.cloud.deployer.spi.core.AppDeploymentRequest> createTaskDeploymentRequests(String taskName, String dslText) Creates requests for a composed task- Parameters:
taskName
- name of the taskdslText
- String of the dsl text- Returns:
- a list of
AppDeploymentRequest
based on the dsl provided - Since:
- 2.3
-
composedTaskChildNames
-
taskNames
-