public class AudienceSetMerged extends Object
Constructor and Description |
---|
AudienceSetMerged(String id,
Map<String,List<SetData>> buildId2SetDatas,
File file) |
Modifier and Type | Method and Description |
---|---|
static boolean |
addSetDataToMatches(AudienceTestableDevice testableDevice,
Matches matches,
SetData setdata)
Do the work of adding objects to test
|
void |
close() |
boolean |
equals(Object o) |
String |
getId() |
List<SetData> |
getSetDatas() |
int |
hashCode() |
boolean |
test(AudienceManager.TestableDevice testableDevice,
Matches matches)
Test a device and add to matches parameter if found.
|
boolean |
test(com.factual.geopulse.audience.set.manager.AudienceSet.DataSourceData data,
AudienceManager.TestableDevice testableDevice,
Matches matches)
Test a device using the given DataSourceData and add to matches parameter if found.
|
boolean |
updateActiveMeta(Map<String,List<SetData>> buildId2SetDatas) |
public AudienceSetMerged(String id, Map<String,List<SetData>> buildId2SetDatas, File file) throws IOException
IOException
public boolean test(AudienceManager.TestableDevice testableDevice, Matches matches) throws IOException
testableDevice
- Device to test.matches
- Mutable return value. Matches are added to this.IOException
public boolean test(com.factual.geopulse.audience.set.manager.AudienceSet.DataSourceData data, AudienceManager.TestableDevice testableDevice, Matches matches) throws IOException
testableDevice
- Device to test.matches
- Mutable return value. Matches are added to this.IOException
public void close() throws IOException
IOException
public String getId()
public List<SetData> getSetDatas()
public static boolean addSetDataToMatches(AudienceTestableDevice testableDevice, Matches matches, SetData setdata)
testableDevice
- Device to test.matches
- Mutable return value. Matches are added to this.setdata
- Metadata for the current matched set.