# Uses of Interface
org.springframework.batch.repeat.CompletionPolicy

Packages that use CompletionPolicy
Package
Description
org.springframework.batch.core.configuration.xml
Parsers for XML based configuration
org.springframework.batch.core.resource
org.springframework.batch.core.step.builder
Step level builders for java based job configuration.
org.springframework.batch.core.step.factory
Factories for step level components.
org.springframework.batch.integration.chunk
Components for remote chunking.
org.springframework.batch.integration.partition
Remote partitioning components.
org.springframework.batch.repeat.policy
Infrastructure implementations of repeat policy concerns.
org.springframework.batch.repeat.support
Infrastructure implementations of repeat support concerns.

- ## Uses of CompletionPolicy in org.springframework.batch.core.configuration.xml

  Methods in org.springframework.batch.core.configuration.xml that return CompletionPolicy
  Modifier and Type
  Method
  Description
  `protected CompletionPolicy`
  StepParserStepFactoryBean.`getCompletionPolicy()`
  Methods in org.springframework.batch.core.configuration.xml with parameters of type CompletionPolicy
  Modifier and Type
  Method
  Description
  `void`
  StepParserStepFactoryBean.`setChunkCompletionPolicy(CompletionPolicy chunkCompletionPolicy)`
  Public setter for the `CompletionPolicy` applying to the chunk level.

- ## Uses of CompletionPolicy in org.springframework.batch.core.resource

  Classes in org.springframework.batch.core.resource that implement CompletionPolicy
  Modifier and Type
  Class
  Description
  `class`
  `StepExecutionSimpleCompletionPolicy`
  A `CompletionPolicy` that picks up a commit interval from `JobParameters` by listening to the start of a step.

- ## Uses of CompletionPolicy in org.springframework.batch.core.step.builder

  Methods in org.springframework.batch.core.step.builder that return CompletionPolicy
  Modifier and Type
  Method
  Description
  `protected CompletionPolicy`
  SimpleStepBuilder.`getChunkCompletionPolicy()`
  Methods in org.springframework.batch.core.step.builder with parameters of type CompletionPolicy
  Modifier and Type
  Method
  Description
  `SimpleStepBuilder<I,O>`
  SimpleStepBuilder.`chunk(CompletionPolicy completionPolicy)`
  Sets a completion policy for the chunk processing.
  `<I, O> SimpleStepBuilder<I,O>`
  StepBuilder.`chunk(CompletionPolicy completionPolicy)`
  Build a step that processes items in chunks with the completion policy provided.

- ## Uses of CompletionPolicy in org.springframework.batch.core.step.factory

  Methods in org.springframework.batch.core.step.factory with parameters of type CompletionPolicy
  Modifier and Type
  Method
  Description
  `void`
  SimpleStepFactoryBean.`setChunkCompletionPolicy(CompletionPolicy chunkCompletionPolicy)`
  Public setter for the `CompletionPolicy` applying to the chunk level.

- ## Uses of CompletionPolicy in org.springframework.batch.integration.chunk

  Methods in org.springframework.batch.integration.chunk with parameters of type CompletionPolicy
  Modifier and Type
  Method
  Description
  `RemoteChunkingManagerStepBuilder<I,O>`
  RemoteChunkingManagerStepBuilder.`chunk(CompletionPolicy completionPolicy)`

- ## Uses of CompletionPolicy in org.springframework.batch.integration.partition

  Methods in org.springframework.batch.integration.partition with parameters of type CompletionPolicy
  Modifier and Type
  Method
  Description
  `<I, O> SimpleStepBuilder<I,O>`
  RemotePartitioningWorkerStepBuilder.`chunk(CompletionPolicy completionPolicy)`

- ## Uses of CompletionPolicy in org.springframework.batch.repeat.policy

  Classes in org.springframework.batch.repeat.policy that implement CompletionPolicy
  Modifier and Type
  Class
  Description
  `class`
  `CompletionPolicySupport`
  Very simple base class for `CompletionPolicy` implementations.
  `class`
  `CompositeCompletionPolicy`
  Composite policy that loops through a list of delegate policies and answers calls by a consensus.
  `class`
  `CountingCompletionPolicy`
  Abstract base class for policies that need to count the number of occurrences of some event (e.g.
  `class`
  `DefaultResultCompletionPolicy`
  Very simple `CompletionPolicy` that bases its decision on the result of a batch operation.
  `class`
  `SimpleCompletionPolicy`
  Policy for terminating a batch after a fixed number of operations.
  `class`
  `TimeoutTerminationPolicy`
  Termination policy that times out after a fixed period.
  Methods in org.springframework.batch.repeat.policy with parameters of type CompletionPolicy
  Modifier and Type
  Method
  Description
  `void`
  CompositeCompletionPolicy.`setPolicies(CompletionPolicy[] policies)`
  Setter for the policies.

- ## Uses of CompletionPolicy in org.springframework.batch.repeat.support

  Methods in org.springframework.batch.repeat.support with parameters of type CompletionPolicy
  Modifier and Type
  Method
  Description
  `void`
  RepeatTemplate.`setCompletionPolicy(CompletionPolicy terminationPolicy)`
  Setter for policy to decide when the batch is complete.