Report.java
1.31 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
/*
* Decompiled with CFR 0_118.
*/
package com.day.cq.analytics.testandtarget;
import com.day.cq.analytics.testandtarget.ReportType;
import com.day.cq.analytics.testandtarget.Resolution;
import com.day.cq.analytics.testandtarget.Sample;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class Report {
private final String campaignId;
private final Date start;
private final Date end;
private final Resolution resolution;
private final ReportType type;
private final List<Sample> samples = new ArrayList<Sample>();
public Report(String campaignId, Date start, Date end, Resolution resolution, ReportType type) {
this.campaignId = campaignId;
this.start = start;
this.end = end;
this.resolution = resolution;
this.type = type;
}
public void addSample(Sample sample) {
this.samples.add(sample);
}
public String getCampaignId() {
return this.campaignId;
}
public Date getStart() {
return this.start;
}
public Date getEnd() {
return this.end;
}
public Resolution getResolution() {
return this.resolution;
}
public ReportType getType() {
return this.type;
}
public List<Sample> getSamples() {
return this.samples;
}
}