public class DefaultAggregateExecutionSupport extends Object implements AggregateExecutionSupport
| Constructor and Description |
|---|
DefaultAggregateExecutionSupport(AppRegistryService registryService,
SchemaService schemaService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.dataflow.schema.SchemaVersionTarget |
findSchemaVersionTarget(String taskName,
String version,
TaskDefinition taskDefinition) |
org.springframework.cloud.dataflow.schema.SchemaVersionTarget |
findSchemaVersionTarget(String taskName,
String version,
TaskDefinitionReader taskDefinitionReader) |
org.springframework.cloud.dataflow.schema.SchemaVersionTarget |
findSchemaVersionTarget(String taskName,
TaskDefinition taskDefinition) |
org.springframework.cloud.dataflow.schema.SchemaVersionTarget |
findSchemaVersionTarget(String taskName,
TaskDefinitionReader taskDefinitionReader)
Retrieves the
SchemaVersionTarget for the task name. |
AppRegistration |
findTaskAppRegistration(String registeredName)
Retrieve the
AppRegistration for the registeredName. |
AppRegistration |
findTaskAppRegistration(String registeredAppName,
String version) |
org.springframework.cloud.dataflow.schema.AggregateTaskExecution |
from(org.springframework.cloud.task.repository.TaskExecution execution,
String schemaTarget,
String platformName)
Return the
AggregateTaskExecution for the TaskExecution and Schema Target name specified. |
org.springframework.cloud.dataflow.schema.AggregateTaskExecution |
from(org.springframework.cloud.task.repository.TaskExecution execution,
TaskDefinitionReader taskDefinitionReader,
TaskDeploymentReader taskDeploymentReader)
Retrieves the
AggregateTaskExecution for the task execution and TaskDefinitionReader provided. |
public DefaultAggregateExecutionSupport(AppRegistryService registryService, SchemaService schemaService)
public org.springframework.cloud.dataflow.schema.AggregateTaskExecution from(org.springframework.cloud.task.repository.TaskExecution execution,
TaskDefinitionReader taskDefinitionReader,
TaskDeploymentReader taskDeploymentReader)
AggregateExecutionSupportAggregateTaskExecution for the task execution and TaskDefinitionReader provided.from in interface AggregateExecutionSupportexecution - A TaskExecution that contains the TaskName that will be used to find the AggregateTaskExecution.taskDefinitionReader - TaskDefinitionReader that will be used to find the SchemaVersionTarget for the task execution.taskDeploymentReader - TaskDeploymentReader will be used to read the deployment.AggregateTaskExecution containing the SchemaVersionTarget for the TaskExecution.public org.springframework.cloud.dataflow.schema.SchemaVersionTarget findSchemaVersionTarget(String taskName, TaskDefinitionReader taskDefinitionReader)
AggregateExecutionSupportSchemaVersionTarget for the task name.findSchemaVersionTarget in interface AggregateExecutionSupporttaskName - The name of the TaskDefinition from which the SchemaVersionTarget will be retreived.taskDefinitionReader - TaskDefinitionReader that will be used to find the SchemaVersionTargetSchemaVersionTarget for the taskName specified.public org.springframework.cloud.dataflow.schema.SchemaVersionTarget findSchemaVersionTarget(String taskName, String version, TaskDefinitionReader taskDefinitionReader)
findSchemaVersionTarget in interface AggregateExecutionSupportpublic org.springframework.cloud.dataflow.schema.SchemaVersionTarget findSchemaVersionTarget(String taskName, TaskDefinition taskDefinition)
findSchemaVersionTarget in interface AggregateExecutionSupportpublic org.springframework.cloud.dataflow.schema.SchemaVersionTarget findSchemaVersionTarget(String taskName, String version, TaskDefinition taskDefinition)
findSchemaVersionTarget in interface AggregateExecutionSupportpublic AppRegistration findTaskAppRegistration(String registeredName)
AggregateExecutionSupportAppRegistration for the registeredName.findTaskAppRegistration in interface AggregateExecutionSupportregisteredName - Registered name for registration to find.public AppRegistration findTaskAppRegistration(String registeredAppName, String version)
findTaskAppRegistration in interface AggregateExecutionSupportpublic org.springframework.cloud.dataflow.schema.AggregateTaskExecution from(org.springframework.cloud.task.repository.TaskExecution execution,
String schemaTarget,
String platformName)
AggregateExecutionSupportAggregateTaskExecution for the TaskExecution and Schema Target name specified.from in interface AggregateExecutionSupportexecution - The task executionschemaTarget - The schemaTarget of the task executionplatformName - The platform name of the task executionCopyright © 2023 Pivotal Software, Inc.. All rights reserved.