public class AsyncWorkItemHandlerCmdCallback extends Object implements org.kie.api.executor.CommandCallback
AsyncWorkItemHandler
that is responsible for:
Constructor and Description |
---|
AsyncWorkItemHandlerCmdCallback() |
Modifier and Type | Method and Description |
---|---|
protected org.kie.api.runtime.process.NodeInstance |
getNodeInstance(org.kie.api.runtime.process.WorkItem workItem,
Collection<org.kie.api.runtime.process.NodeInstance> nodeInstances) |
protected org.kie.api.runtime.process.NodeInstance |
getNodeInstance(org.kie.api.runtime.process.WorkItem workItem,
org.jbpm.workflow.instance.WorkflowProcessInstance processInstance) |
protected org.kie.api.runtime.manager.RuntimeManager |
getRuntimeManager(org.kie.api.executor.CommandContext ctx) |
void |
onCommandDone(org.kie.api.executor.CommandContext ctx,
org.kie.api.executor.ExecutionResults results) |
void |
onCommandError(org.kie.api.executor.CommandContext ctx,
Throwable exception) |
public void onCommandDone(org.kie.api.executor.CommandContext ctx, org.kie.api.executor.ExecutionResults results)
onCommandDone
in interface org.kie.api.executor.CommandCallback
public void onCommandError(org.kie.api.executor.CommandContext ctx, Throwable exception)
onCommandError
in interface org.kie.api.executor.CommandCallback
protected org.kie.api.runtime.manager.RuntimeManager getRuntimeManager(org.kie.api.executor.CommandContext ctx)
protected org.kie.api.runtime.process.NodeInstance getNodeInstance(org.kie.api.runtime.process.WorkItem workItem, org.jbpm.workflow.instance.WorkflowProcessInstance processInstance)
protected org.kie.api.runtime.process.NodeInstance getNodeInstance(org.kie.api.runtime.process.WorkItem workItem, Collection<org.kie.api.runtime.process.NodeInstance> nodeInstances)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.