BatchResult.java
2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.aemds.guide.batch.api;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class BatchResult
extends HashMap<String, Object> {
private static final long serialVersionUID = -3422334048132064737L;
public static final String batchId = "batchId";
public static final String templateId = "templateId";
public static final String batchPerformance = "batchPerformance";
public static final String storedRecords = "storedRecords";
public static final String failedRecords = "failedRecords";
public BatchResult() {
}
public BatchResult(String batchId, String templateId, Map<String, String> batchPerformance, Map<String, List<String>> storedRecords, Map<String, String> failedRecords) {
this.setBatchId(batchId);
this.setTemplateId(templateId);
this.setBatchPerformance(batchPerformance);
this.setStoredRecords(storedRecords);
this.setFailedRecords(failedRecords);
}
public String getBatchId() {
return (String)this.get("batchId");
}
public void setBatchId(String batchId) {
this.put("batchId", batchId);
}
public String getTemplateId() {
return (String)this.get("templateId");
}
public void setTemplateId(String templateId) {
this.put("templateId", templateId);
}
public Map<String, String> getBatchPerformance() {
return (Map)this.get("batchPerformance");
}
public void setBatchPerformance(Map<String, String> batchPerformance) {
this.put("batchPerformance", batchPerformance);
}
public Map<String, List<String>> getStoredRecords() {
return (Map)this.get("storedRecords");
}
public void setStoredRecords(Map<String, List<String>> storedRecords) {
this.put("storedRecords", storedRecords);
}
public Map<String, String> getFailedRecords() {
return (Map)this.get("failedRecords");
}
public void setFailedRecords(Map<String, String> failedRecords) {
this.put("failedRecords", failedRecords);
}
}