Skip to content

Commit

Permalink
Update WorkflowModel.java
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Jan 3, 2024
1 parent ee7e75e commit 3813331
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public boolean isSuccessful() {
private String idempotencyKey;
private String rateLimitKey;
private boolean rateLimited;
private Map<String, Object> systemMetadata = new HashMap<>();

private List<WorkflowModel> history = new LinkedList<>();

Expand Down Expand Up @@ -476,6 +477,14 @@ public void setRateLimited(boolean rateLimited) {
this.rateLimited = rateLimited;
}

public Map<String, Object> getSystemMetadata() {
return systemMetadata;
}

public void setSystemMetadata(Map<String, Object> systemMetadata) {
this.systemMetadata = systemMetadata;
}

public void externalizeInput(String path) {
this.inputPayload = this.input;
this.input = new HashMap<>();
Expand Down

0 comments on commit 3813331

Please sign in to comment.