> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BatchCreationJob class

> Reference for the BatchCreationJob class: define a job to create a batch in FlexiCapture 12 and set its name, type, and registration properties.

The `BatchCreationJob` class is in the `com.abbyy.connectors.models` namespace. It stores a job that creates a new batch in an ABBYY FlexiCapture 12 project.

## Constructor

```java theme={null}
public BatchCreationJob(List<File> files)
```

Creates a new job that will create a batch in ABBYY FlexiCapture 12.

### Parameters

* **files** – The list of files to be processed in ABBYY FlexiCapture 12.

## Methods

### setName

```java theme={null}
public void setName(String name)
```

Specifies a name for the batch.

#### Parameters

* **name** – The name of the batch. The default name is `Batch_ + System.currentTimeMillis()`.

### setType

```java theme={null}
public void setType(String type)
```

Specifies a type for the batch.

#### Parameters

* **type** – The type of the batch. The default type is `Default`.

### setRegistrationProperties

```java theme={null}
public void setRegistrationProperties(List<RegistrationProperty> properties)
```

Specifies a list of registration parameters for the batch.

#### Parameters

* **properties** – The registration parameters of the batch.

## Related topics

* [File class](/flexi-capture/connectors/pega/pega-class-file)
* [RegistrationProperty class](/flexi-capture/connectors/pega/pega-class-registration-property)
