- All Implemented Interfaces:
- org.kie.api.runtime.process.WorkItemHandler
@Wid(widfile="ClassifyImageDefinitions.wid",
name="IBMWatsonClassifyImage",
displayName="IBMWatsonClassifyImage",
defaultHandler="mvel: new org.jbpm.process.workitem.ibm.watson.ClassifyImageWorkitemHandler(\"apiKey\")",
documentation="ibm-watson-workitem/index.html",
category="ibm-watson-workitem",
icon="IBMWatsonClassifyImage.png",
parameters=@WidParameter(name="ImageToClassify",required=true,runtimeType="org.jbpm.document.Document"),
results=@WidResult(name="Classification",runtimeType="java.util.List"),
mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="ibm-watson-workitem",version="7.41.0.t20200723"),
serviceInfo=@WidService(category="IBM Watson",description="Classify image and detect faces in image via IBM Watson",keywords="ibm,watson,image,classify",action=@WidAction(title="Classify an image using IBM Watson"),authinfo=@WidAuth(required=true,params="apiKey",paramsdescription="IBM Watson api key",referencesite="https://www.ibm.com/watson/developercloud/doc/virtual-agent/api-keys.html")))
public class ClassifyImageWorkitemHandler
extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler