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

# IDataHistoryToModel

interface [IDataHistoryToModel](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model.md)

The Data History to Model connector is the piece that connects a Data History to a ModelCenter instance, for the purpose of restoring a run or re-running runs. It allows a user to override the default behaviors of the "Save to Model" and "Rerun Runs" capabilities of Data Explorer.

## Functions

| Name | Summary |
| - | - |
| [canRerunRuns](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/can-rerun-runs) | abstract fun [canRerunRuns](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/can-rerun-runs)(dataHistory: [DataHistory](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history.md), runIndexes: [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) Determine if the specified runs can be re-run. |
| [canSaveToModel](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/can-save-to-model) | abstract fun [canSaveToModel](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/can-save-to-model)(dataHistory: [DataHistory](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history.md), runIndex: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) Determine if a run could be saved to the model; returning FALSE means that option should be disabled in any menus. |
| [closeDataHistory](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/close-data-history) | abstract fun [closeDataHistory](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/close-data-history)(dataHistory: [DataHistory](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history.md)) Notify that the user is attempting to close the given data history. |
| [rerunRuns](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/rerun-runs) | abstract fun [rerunRuns](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/rerun-runs)(dataHistory: [DataHistory](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history.md), runIndexes: [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>) Notify that the user has requested to re-run a set of runs. |
| [saveToModel](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/save-to-model) | abstract fun [saveToModel](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-i-data-history-to-model/save-to-model)(dataHistory: [DataHistory](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history.md), runIndex: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)) Notify that a user has requested to save the indicated run to the model. |
