Package org.jbpm.process.workitem.core
Class AbstractLogOrThrowWorkItemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- All Implemented Interfaces:
org.kie.api.runtime.process.WorkItemHandler
- Direct Known Subclasses:
AbstractRuleTaskHandler,EmailWorkItemHandler,JMSSendTaskWorkItemHandler,RESTWorkItemHandler,ServiceTaskHandler,WebServiceWorkItemHandler
public abstract class AbstractLogOrThrowWorkItemHandler extends Object implements org.kie.api.runtime.process.WorkItemHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected StringhandlingProcessIdprotected StringhandlingStrategyprotected booleanlogThrownExceptionprotected intretries
-
Constructor Summary
Constructors Constructor Description AbstractLogOrThrowWorkItemHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WorkItemNodeInstancefindNodeInstance(long workItemId, org.kie.api.runtime.process.NodeInstanceContainer container)protected voidhandleException(Throwable cause)protected voidhandleException(Throwable cause, Map<String,Object> handlerInfoMap)voidsetLogThrownException(boolean logException)
-
-
-
Method Detail
-
setLogThrownException
public void setLogThrownException(boolean logException)
-
handleException
protected void handleException(Throwable cause)
-
handleException
protected void handleException(Throwable cause, Map<String,Object> handlerInfoMap)
-
findNodeInstance
protected WorkItemNodeInstance findNodeInstance(long workItemId, org.kie.api.runtime.process.NodeInstanceContainer container)
-
-