Class TimezoneWorkitemHandler

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

    @Wid(widfile="GoogleMapsTimezoneDefinitions.wid",
         name="GoogleMapsTimezone",
         displayName="GoogleMapsTimezone",
         defaultHandler="mvel: new org.jbpm.process.workitem.google.maps.TimezoneWorkitemHandler(\"apiKey\")",
         documentation="google-maps-workitem/index.html",
         category="google-maps-workitem",
         icon="GoogleMapsTimezone.png",
         parameters=@WidParameter(name="LatLong",required=true),
         results=@WidResult(name="TimezonResults",runtimeType="java.util.TimeZone"),
         mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="google-maps-workitem",version="7.64.0.Final"),
         serviceInfo=@WidService(category="Google Maps",description="Interact with Google Maps Services",keywords="google,maps,timezone,locations",action=@WidAction(title="Get timezone 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 TimezoneWorkitemHandler
    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

      • TimezoneWorkitemHandler

        public TimezoneWorkitemHandler​(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)