Skip to content

Commit dc70ba5

Browse files
Add meta data support to ZeroCodeExecResult
1 parent bdb6f78 commit dc70ba5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

core/src/main/java/org/jsmart/zerocode/core/domain/reports/ZeroCodeExecResult.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66

77
import java.util.ArrayList;
88
import java.util.List;
9+
import java.util.Map;
910

1011
@JsonInclude(JsonInclude.Include.NON_NULL)
1112
public class ZeroCodeExecResult {
1213
private String scenarioName;
1314
private Integer loop;
1415
private List<ZeroCodeReportStep> steps = new ArrayList<>();
15-
16+
private Map<String, List<String>> meta;
17+
1618
@JsonCreator
1719
public ZeroCodeExecResult(
1820
@JsonProperty("scenarioName")String scenarioName,
@@ -47,4 +49,12 @@ public String toString() {
4749
", steps=" + steps +
4850
'}';
4951
}
52+
53+
public Map<String, List<String>> getMeta() {
54+
return meta;
55+
}
56+
57+
public void setMeta(Map<String, List<String>> meta) {
58+
this.meta = meta;
59+
}
5060
}

0 commit comments

Comments
 (0)