public class DefaultTaskExecutionInfoService extends Object implements TaskExecutionInfoService
DefaultTaskExecutionInfoService interface.
Provide service methods for DefaultTaskExecutionService about task definitions
and execution related information.| Constructor and Description |
|---|
DefaultTaskExecutionInfoService(org.springframework.boot.autoconfigure.jdbc.DataSourceProperties dataSourceProperties,
AppRegistryService appRegistryService,
org.springframework.cloud.task.repository.TaskExplorer taskExplorer,
TaskDefinitionRepository taskDefinitionRepository,
TaskConfigurationProperties taskConfigurationProperties,
LauncherRepository launcherRepository,
List<TaskPlatform> taskPlatforms)
Initializes the
DefaultTaskExecutionInfoService. |
| Modifier and Type | Method and Description |
|---|---|
AllPlatformsTaskExecutionInformation |
findAllPlatformTaskExecutionInformation() |
TaskExecutionInformation |
findTaskExecutionInformation(String taskName,
Map<String,String> taskDeploymentProperties) |
public DefaultTaskExecutionInfoService(org.springframework.boot.autoconfigure.jdbc.DataSourceProperties dataSourceProperties,
AppRegistryService appRegistryService,
org.springframework.cloud.task.repository.TaskExplorer taskExplorer,
TaskDefinitionRepository taskDefinitionRepository,
TaskConfigurationProperties taskConfigurationProperties,
LauncherRepository launcherRepository,
List<TaskPlatform> taskPlatforms)
DefaultTaskExecutionInfoService.dataSourceProperties - the data source properties.appRegistryService - URI registry this service will use to look up app URIs.taskExplorer - the explorer this service will use to lookup task executionstaskDefinitionRepository - the TaskDefinitionRepository this service will
use for task CRUD operations.taskConfigurationProperties - the properties used to define the behavior of taskspublic TaskExecutionInformation findTaskExecutionInformation(String taskName, Map<String,String> taskDeploymentProperties)
findTaskExecutionInformation in interface TaskExecutionInfoServicepublic AllPlatformsTaskExecutionInformation findAllPlatformTaskExecutionInformation()
findAllPlatformTaskExecutionInformation in interface TaskExecutionInfoServiceCopyright © 2019 Pivotal Software, Inc.. All rights reserved.