Implementation:Treeverse LakeFS Java SDK Model ActionRun
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing an action run execution record in the lakeFS Java SDK.
Description
The ActionRun class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to action run fields through getter/setter methods and supports JSON serialization via Gson. It includes a StatusEnum inner enum with values FAILED and COMPLETED.
Usage
Use this model when working with action run results and execution history through the lakeFS Java SDK API classes.
Code Reference
Source Location
- Repository: Treeverse_LakeFS
- File: clients/java/src/main/java/io/lakefs/clients/sdk/model/ActionRun.java
- Lines: 1-525
Signature
public class ActionRun {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.ActionRun;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| runId | String | Yes | Unique identifier for the action run |
| branch | String | Yes | Branch on which the action was triggered |
| startTime | OffsetDateTime | Yes | Timestamp when the run started |
| endTime | OffsetDateTime | No | Timestamp when the run ended |
| eventType | String | Yes | Type of event that triggered the run |
| status | StatusEnum | Yes | Run status (FAILED or COMPLETED) |
| commitId | String | Yes | Commit ID associated with the run |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.ActionRun;
ActionRun obj = new ActionRun();
obj.setRunId("run-123");
obj.setBranch("main");
obj.setEventType("pre-commit");
obj.setStatus(ActionRun.StatusEnum.COMPLETED);
Principle
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment