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

# Result クラス

> Result クラスのリファレンス: 停止したステージ、出力ファイル、JSON として抽出された fields を含む FC 12 のバッチ処理結果を読み取ります。

*Result* クラスは *com.abbyy.connectors.models* 名前空間にあり、処理結果を格納します。

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

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

```
public Stage getStage()
```

バッチ処理が停止したステージのIDを返します。

**戻り値:**

* バッチ処理が停止したステージ: *検証 (500)、処理完了 (900)*

***関連項目:***

<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" />[Stage](/ja/flexi-capture/connectors/pega/pega-enum-stage)

```
public List<File> getFiles()
```

出力ファイルのリストを返します。

**戻り値:**

* 出力ファイルのリスト。ドキュメントが "Export" ステージを経由せず、"Verification (500)" ステージで停止した場合、リストは空になります。また、Document Definition で “Export to data files” のエクスポートプロファイルが設定されていない場合も、リストは空になります。

```
public String getFields()
```

認識結果を JSON 文字列として返します。

**戻り値:**

* 認識結果を含む JSON 文字列です。この文字列には、抽出されたフィールドの名前とその値が含まれます。この文字列は Pega 側で処理でき、そこでフィールド値を抽出して、ケース内の対応するフィールドに書き込むことができます。FCプロジェクトで使用される Document Definition に "Export to XML" エクスポートプロファイルが設定されていない場合、この文字列は空になります。また、文書が "Export" ステージを通過せず、"Verification (500)" ステージで停止した場合も、文字列は空になります。
