Class SetGeoLocationTask
java.lang.Object
ch.tocco.nice2.optional.geolocation.impl.batch.SetGeoLocationTask
- All Implemented Interfaces:
OptionalTask<Entity,Void>, PersistTask<Entity, Void>
Calls
GeolocListenerService.runGeoLocationService(Entity, String) with the
given entity.-
Constructor Summary
ConstructorsConstructorDescriptionSetGeoLocationTask(GeolocListenerService geolocListenerService, GeoLocationEntityContribution entityContribution) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OptionalTask
runMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
SetGeoLocationTask
public SetGeoLocationTask(GeolocListenerService geolocListenerService, GeoLocationEntityContribution entityContribution)
-
-
Method Details
-
doRun
- Specified by:
doRunin interfaceOptionalTask<Entity,Void> - Throws:
Exception
-