Package org.jbpm.workitem.google.maps
Class StaticMapsWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.workitem.google.maps.StaticMapsWorkitemHandler
-
- All Implemented Interfaces:
org.kie.api.runtime.process.WorkItemHandler
@Wid(widfile="GoogleMapsStaticMapsDefinitions.wid",name="GoogleMapsStaticMaps",displayName="GoogleMapsStaticMaps",defaultHandler="mvel: new org.jbpm.process.workitem.google.maps.StaticMapsWorkitemHandler(\"apiKey\")",documentation="google-maps-workitem/index.html",category="google-maps-workitem",icon="GoogleMapsStaticMaps.png",parameters={@WidParameter(name="Width",required=true),@WidParameter(name="Height",required=true),@WidParameter(name="CenterLocation",required=true),@WidParameter(name="Zoom"),@WidParameter(name="Scale"),@WidParameter(name="MapType"),@WidParameter(name="Markers")},results=@WidResult(name="StaticMap",runtimeType="com.google.maps.ImageResult"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="google-maps-workitem",version="7.62.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 StaticMapsWorkitemHandler extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
-
Constructor Summary
Constructors Constructor Description StaticMapsWorkitemHandler(com.google.maps.GeoApiContext geoApiContext)StaticMapsWorkitemHandler(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)
-