## Uses of Class
org.springframework.cloud.dataflow.core.TaskDefinition

- Packages that use TaskDefinition
  Package | Description
  --- | ---
  org.springframework.cloud.dataflow.completion | Contains classes related to code-completion of stream definitions expressed in the Spring Cloud Dataflow DSL.
  org.springframework.cloud.dataflow.core | Root package of the Spring Cloud Data Flow domain model.
  org.springframework.cloud.dataflow.rest.util | Contains utilities for the Dataflow REST support.
  org.springframework.cloud.dataflow.server.controller.support | Contains supporting classes and utilities for the web controllers.
  org.springframework.cloud.dataflow.server.repository | Spring Cloud Data Flow Server Repositories.
  org.springframework.cloud.dataflow.server.service | Contains various Services (Interfaces) that are part of the Dataflow Server.
  org.springframework.cloud.dataflow.server.service.impl | Contains Service implementations for the Dataflow Server.

- - ### Uses of TaskDefinition in org.springframework.cloud.dataflow.completion

    Methods in org.springframework.cloud.dataflow.completion with parameters of type TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | UnfinishedTaskAppNameExpansionStrategy.`addProposals(String text, TaskDefinition taskDefinition, int detailLevel, List<CompletionProposal> collector)`
    `boolean` | TaskExpansionStrategy.`addProposals(String text, TaskDefinition taskDefinition, int detailLevel, List<CompletionProposal> collector)` For a given task DSL text and `TaskDefinition`, Generate `CompletionProposal`s that apply (if any) and add them to the provided `collector` list Return `true` if no other strategies should be applied for the task DSL text (this strategy make take the liberty to erase already collected proposals)
    `boolean` | ConfigurationPropertyValueHintTaskExpansionStrategy.`addProposals(String text, TaskDefinition parseResult, int detailLevel, List<CompletionProposal> collector)`

  - ### Uses of TaskDefinition in org.springframework.cloud.dataflow.core

    Methods in org.springframework.cloud.dataflow.core that return TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `TaskDefinition` | TaskDefinition.TaskDefinitionBuilder.`build()` Return a new instance of `TaskDefinition`.

    Methods in org.springframework.cloud.dataflow.core with parameters of type TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `String` | TaskDefinitionToDslConverter.`toDsl(TaskDefinition taskDefinition)` Reverse engineers a `TaskDefinition` into a semantically equivalent DSL text representation.

  - ### Uses of TaskDefinition in org.springframework.cloud.dataflow.rest.util

    Methods in org.springframework.cloud.dataflow.rest.util with parameters of type TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `String` | ArgumentSanitizer.`sanitizeTaskDsl(TaskDefinition taskDefinition)` Redacts sensitive property values in a task.

  - ### Uses of TaskDefinition in org.springframework.cloud.dataflow.server.controller.support

    Methods in org.springframework.cloud.dataflow.server.controller.support that return TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `TaskDefinition` | TaskExecutionAwareTaskDefinition.`getTaskDefinition()` Returns the `TaskDefinition`.

    Constructors in org.springframework.cloud.dataflow.server.controller.support with parameters of type TaskDefinition
    Constructor and Description
    `TaskExecutionAwareTaskDefinition(TaskDefinition taskDefinition)` Initialized the `TaskExecutionAwareTaskDefinition` with the provided `TaskDefinition`.
    `TaskExecutionAwareTaskDefinition(TaskDefinition taskDefinition, org.springframework.cloud.task.repository.TaskExecution latestTaskExecution)` Initialized the `TaskExecutionAwareTaskDefinition` with the provided `TaskDefinition` and `TaskExecution`.

  - ### Uses of TaskDefinition in org.springframework.cloud.dataflow.server.repository

    Methods in org.springframework.cloud.dataflow.server.repository that return TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `TaskDefinition` | TaskDefinitionRepository.`findByTaskName(String name)` Performs a findByName query and throws an exception if the name is not found.

    Methods in org.springframework.cloud.dataflow.server.repository that return types with arguments of type TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `org.springframework.data.domain.Page<TaskDefinition>` | TaskDefinitionRepository.`findByDslTextContains(String dslText, org.springframework.data.domain.Pageable pageable)`
    `org.springframework.data.domain.Page<TaskDefinition>` | TaskDefinitionRepository.`findByTaskNameContains(String taskName, org.springframework.data.domain.Pageable pageable)`
    `org.springframework.data.domain.Page<TaskDefinition>` | TaskDefinitionRepository.`findByTaskNameContainsAndDslTextContains(String taskName, String dslText, org.springframework.data.domain.Pageable pageable)`

  - ### Uses of TaskDefinition in org.springframework.cloud.dataflow.server.service

    Methods in org.springframework.cloud.dataflow.server.service with parameters of type TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `void` | TaskSaveService.`saveTaskDefinition(TaskDefinition taskDefinition)` Saves the task definition.

  - ### Uses of TaskDefinition in org.springframework.cloud.dataflow.server.service.impl

    Methods in org.springframework.cloud.dataflow.server.service.impl that return TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `TaskDefinition` | TaskExecutionInformation.`getOriginalTaskDefinition()`
    `TaskDefinition` | TaskExecutionInformation.`getTaskDefinition()`
    `static TaskDefinition` | TaskServiceUtils.`updateTaskProperties(TaskDefinition taskDefinition, org.springframework.boot.autoconfigure.jdbc.DataSourceProperties dataSourceProperties)` Updates the task definition with the datasource properties.
    `static TaskDefinition` | TaskServiceUtils.`updateTaskProperties(TaskDefinition taskDefinition, org.springframework.boot.autoconfigure.jdbc.DataSourceProperties dataSourceProperties, boolean setDatabaseCredentials)` Updates the task definition with the datasource properties.

    Methods in org.springframework.cloud.dataflow.server.service.impl with parameters of type TaskDefinition
    Modifier and Type | Method and Description
    --- | ---
    `static org.springframework.cloud.deployer.spi.core.AppDefinition` | TaskServiceUtils.`mergeAndExpandAppProperties(TaskDefinition original, org.springframework.core.io.Resource resource, Map<String,String> appDeploymentProperties, VisibleProperties visibleProperties)` Return a copy of a given task definition where short form parameters have been expanded to their long form (amongst the visible properties of the app) if applicable.
    `void` | DefaultTaskSaveService.`saveTaskDefinition(TaskDefinition taskDefinition)`
    `void` | TaskExecutionInformation.`setOriginalTaskDefinition(TaskDefinition originalTaskDefinition)`
    `void` | TaskExecutionInformation.`setTaskDefinition(TaskDefinition taskDefinition)`
    `static TaskDefinition` | TaskServiceUtils.`updateTaskProperties(TaskDefinition taskDefinition, org.springframework.boot.autoconfigure.jdbc.DataSourceProperties dataSourceProperties)` Updates the task definition with the datasource properties.
    `static TaskDefinition` | TaskServiceUtils.`updateTaskProperties(TaskDefinition taskDefinition, org.springframework.boot.autoconfigure.jdbc.DataSourceProperties dataSourceProperties, boolean setDatabaseCredentials)` Updates the task definition with the datasource properties.

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.