Class GeocodingWorkitemHandler

  • All Implemented Interfaces:
    org.kie.api.runtime.process.WorkItemHandler

    @Wid(widfile="GoogleMapsGeocodingDefinitions.wid",name="GoogleMapsGeocoding",displayName="GoogleMapsGeocoding",defaultHandler="mvel: new org.jbpm.process.workitem.google.maps.GeocodingWorkitemHandler(\"apiKey\")",documentation="google-maps-workitem/index.html",category="google-maps-workitem",icon="GoogleMapsGeocoding.png",parameters={@WidParameter(name="SearchType",required=true),@WidParameter(name="SearchLocation",required=true),@WidParameter(name="Bounds"),@WidParameter(name="LocationType")},results=@WidResult(name="GeocodingResults",runtimeType="com.google.maps.model.GeocodingResult"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="google-maps-workitem",version="7.66.0.Final"),serviceInfo=@WidService(category="Google Maps",description="Interact with Google Maps Services",keywords="google,maps,geocoding,locations",action=@WidAction(title="Get geocoding information using Google Maps"),authinfo=@WidAuth(required=true,params="apiKey",paramsdescription="Google maps api key",referencesite="https://developers.google.com/maps/premium/previous-licenses/clientside/auth")))
    public class GeocodingWorkitemHandler
    extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
    • Field Summary

      • Fields inherited from class org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler

        handlingProcessId, handlingStrategy, logThrownException, retries
    • Constructor Detail

      • GeocodingWorkitemHandler

        public GeocodingWorkitemHandler​(com.google.maps.GeoApiContext geoApiContext)
    • Method Detail

      • executeWorkItem

        public void executeWorkItem​(org.kie.api.runtime.process.WorkItem workItem,
                                    org.kie.api.runtime.process.WorkItemManager workItemManager)
      • abortWorkItem

        public void abortWorkItem​(org.kie.api.runtime.process.WorkItem wi,
                                  org.kie.api.runtime.process.WorkItemManager wim)