-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathProcessedRuleBasedSegmentChange.java
More file actions
38 lines (30 loc) · 1.06 KB
/
ProcessedRuleBasedSegmentChange.java
File metadata and controls
38 lines (30 loc) · 1.06 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
package io.split.android.client.service.rules;
import java.util.Set;
import io.split.android.client.dtos.RuleBasedSegment;
public class ProcessedRuleBasedSegmentChange {
private final Set<RuleBasedSegment> mActive;
private final Set<RuleBasedSegment> mArchived;
private final long mChangeNumber;
private final long mUpdateTimestamp;
public ProcessedRuleBasedSegmentChange(Set<RuleBasedSegment> active,
Set<RuleBasedSegment> archived,
long changeNumber,
long updateTimestamp) {
mActive = active;
mArchived = archived;
mChangeNumber = changeNumber;
mUpdateTimestamp = updateTimestamp;
}
public Set<RuleBasedSegment> getActive() {
return mActive;
}
public Set<RuleBasedSegment> getArchived() {
return mArchived;
}
public long getChangeNumber() {
return mChangeNumber;
}
public long getUpdateTimestamp() {
return mUpdateTimestamp;
}
}