public final class RunnableCheck extends RunnableCheckBase<Check> implements java.lang.Runnable
Check over AtlasObjects in a separate thread. CheckFlags that
result from checking an AtlasObject are posted to the
RunnableCheckBase.eventService along with MapRouletteClient for handling.| Constructor and Description |
|---|
RunnableCheck(java.lang.String country,
Check check,
java.lang.Iterable<org.openstreetmap.atlas.geography.atlas.items.AtlasObject> objects,
MapRouletteClient client)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Runs the
Check over AtlasObjects, posting resulting CheckFlags to
RunnableCheckBase.eventService and MapRouletteClient |
addTask, getCheck, getClient, getCountry, getEventService, getName, getObjects, uploadTaskspublic RunnableCheck(java.lang.String country,
Check check,
java.lang.Iterable<org.openstreetmap.atlas.geography.atlas.items.AtlasObject> objects,
MapRouletteClient client)
country - country that is being processedcheck - check that is being executedobjects - AtlasObjects that are going to be executedclient - MapRouletteClient that will upload the tasks to MapRoulettepublic void run()
Check over AtlasObjects, posting resulting CheckFlags to
RunnableCheckBase.eventService and MapRouletteClientrun in interface java.lang.Runnable