> ## 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.

# FlexiCaptureProject クラス

> FlexiCaptureProject クラスのリファレンス: バッチタイプの一覧表示、バッチの作成と実行、FC 12 からのバッチ処理結果の取得。

*FlexiCaptureProject* クラスは、*com.abbyy.connectors* 名前空間にあります。*AutoCloseable* クラスを継承しており、FC 12 Project を操作するためのメソッドを提供します。

このクラスのメソッドについては、以下で説明します。

<div id="method-details">
  ## メソッドの詳細
</div>

```
public List<String> getBatchTypeNames()
```

Project 内のすべてのバッチタイプ名の一覧を取得します。

**戻り値:**

* バッチタイプ名の一覧

**例外:**

* FlexiCaptureConnectorException – バッチタイプ名の一覧の取得中にエラーが発生した場合

```
public int create(BatchCreationJob job)
```

FC 12 サーバー上に新しいファイルのバッチを作成し、そのバッチの処理を開始します。

**パラメーター:**

* job – FC 12 サーバー上に新しいバッチを作成するジョブ

**戻り値:**

* バッチのID

**スローされる例外:**

* FlexiCaptureConnectorException – バッチの作成時にエラーが発生した場合
  * NullPointerException – 入力パラメーターが 0 の場合
  * IllegalArgumentException – 入力パラメーターに無効なプロパティ値が含まれている場合

***関連項目:***

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/see_also.gif?s=f438656d29ffb293fe967e6dd184b256" alt="" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="11" height="12" data-path="images/flexi-capture/connectors/see_also.gif" />[BatchCreationJob](/ja/flexi-capture/connectors/pega/pega-class-batch-creation-job)

```
public Result getResult(int batchId)
```

FC 12 サーバーからバッチ処理結果を取得します。

**パラメーター:**

* batchId – バッチの ID

**戻り値:**

* バッチ処理結果を含むオブジェクト

**例外:**

* FlexiCaptureConnectorException – バッチ処理結果の取得時にエラーが発生した場合
  * IllegalArgumentException – 入力パラメーターが 0 以下の場合

***関連項目:***

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/see_also.gif?s=f438656d29ffb293fe967e6dd184b256" alt="" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="11" height="12" data-path="images/flexi-capture/connectors/see_also.gif" />[Result](/ja/flexi-capture/connectors/pega/pega-class-result)

```
public void close()
```

Project を閉じます。
