Package org.jbpm.workitem.google.maps
Class DirectionsWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.workitem.google.maps.DirectionsWorkitemHandler
-
- All Implemented Interfaces:
org.kie.api.runtime.process.WorkItemHandler
@Wid(widfile="GoogleMapsDirectionsDefinitions.wid",name="GoogleMapsDirections",displayName="GoogleMapsDirections",defaultHandler="mvel: new org.jbpm.process.workitem.google.maps.DirectionsWorkitemHandler(\"apiKey\")",documentation="google-maps-workitem/index.html",category="google-maps-workitem",icon="GoogleMapsDirections.png",parameters={@WidParameter(name="Origin",required=true),@WidParameter(name="Destination",required=true),@WidParameter(name="Mode"),@WidParameter(name="Avoid"),@WidParameter(name="Units")},results=@WidResult(name="Directions",runtimeType="com.google.maps.model.DirectionsResult"),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,directions,locations",action=@WidAction(title="Get directions 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 DirectionsWorkitemHandler extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
-
Constructor Summary
Constructors Constructor Description DirectionsWorkitemHandler(com.google.maps.GeoApiContext geoApiContext)DirectionsWorkitemHandler(String apiKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortWorkItem(org.kie.api.runtime.process.WorkItem wi, org.kie.api.runtime.process.WorkItemManager wim)voidexecuteWorkItem(org.kie.api.runtime.process.WorkItem workItem, org.kie.api.runtime.process.WorkItemManager workItemManager)
-