# Uses of Interface
org.springframework.cloud.task.repository.TaskRepository

Packages that use TaskRepository
Package
Description
io.spring
org.springframework.cloud.task.batch.partition
org.springframework.cloud.task.configuration
Interfaces for configuring Spring Cloud Task and a default implementations.
org.springframework.cloud.task.listener
org.springframework.cloud.task.repository.support
Classes used for setting up and supporting a task repositories.

- ## Uses of TaskRepository in io.spring

  Methods in io.spring with parameters of type TaskRepository
  Modifier and Type
  Method
  Description
  `org.springframework.batch.core.partition.PartitionHandler`
  JobConfiguration.`partitionHandler(org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher, org.springframework.batch.core.explore.JobExplorer jobExplorer, TaskRepository taskRepository)`

- ## Uses of TaskRepository in org.springframework.cloud.task.batch.partition

  Constructors in org.springframework.cloud.task.batch.partition with parameters of type TaskRepository
  Modifier
  Constructor
  Description
  ``
  `DeployerPartitionHandler(org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher, org.springframework.batch.core.explore.JobExplorer jobExplorer, org.springframework.core.io.Resource resource, String stepName, TaskRepository taskRepository)`
  Constructor initializing the DeployerPartitionHandler instance.

- ## Uses of TaskRepository in org.springframework.cloud.task.configuration

  Methods in org.springframework.cloud.task.configuration that return TaskRepository
  Modifier and Type
  Method
  Description
  `TaskRepository`
  DefaultTaskConfigurer.`getTaskRepository()`
  `TaskRepository`
  TaskConfigurer.`getTaskRepository()`
  Create a `TaskRepository` for the Task.
  `TaskRepository`
  SimpleTaskAutoConfiguration.`taskRepository()`
  Constructors in org.springframework.cloud.task.configuration with parameters of type TaskRepository
  Modifier
  Constructor
  Description
  ``
  `TaskLifecycleConfiguration(TaskProperties taskProperties, org.springframework.context.ConfigurableApplicationContext context, TaskRepository taskRepository, TaskExplorer taskExplorer, TaskNameResolver taskNameResolver, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.ApplicationArguments> applicationArguments)`

- ## Uses of TaskRepository in org.springframework.cloud.task.listener

  Constructors in org.springframework.cloud.task.listener with parameters of type TaskRepository
  Modifier
  Constructor
  Description
  ``
  `TaskLifecycleListener(TaskRepository taskRepository, TaskNameResolver taskNameResolver, org.springframework.boot.ApplicationArguments applicationArguments, TaskExplorer taskExplorer, TaskProperties taskProperties, TaskListenerExecutorObjectFactory taskListenerExecutorObjectFactory)`

- ## Uses of TaskRepository in org.springframework.cloud.task.repository.support

  Classes in org.springframework.cloud.task.repository.support that implement TaskRepository
  Modifier and Type
  Class
  Description
  `class`
  `SimpleTaskRepository`
  Records the task execution information to the log and to TaskExecutionDao provided.