Package org.jbpm.casemgmt.impl.wih
Class NotifyOwnerSLAViolationListener
- java.lang.Object
-
- org.kie.api.event.process.DefaultProcessEventListener
-
- org.jbpm.casemgmt.impl.wih.NotifyOwnerSLAViolationListener
-
- All Implemented Interfaces:
EventListener
,org.kie.api.event.process.ProcessEventListener
,org.kie.internal.runtime.Cacheable
public class NotifyOwnerSLAViolationListener extends org.kie.api.event.process.DefaultProcessEventListener implements org.kie.internal.runtime.Cacheable
-
-
Constructor Summary
Constructors Constructor Description NotifyOwnerSLAViolationListener()
NotifyOwnerSLAViolationListener(String subject, String body, String template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterSLAViolated(org.kie.api.event.process.SLAViolatedEvent event)
protected Map<String,Object>
buildEmailParameters(String recipients, String caseId, org.kie.api.event.process.SLAViolatedEvent event)
void
close()
protected CaseFileInstance
getCaseFile(org.kie.api.runtime.KieSession ksession)
-
Methods inherited from class org.kie.api.event.process.DefaultProcessEventListener
afterNodeLeft, afterNodeTriggered, afterProcessCompleted, afterProcessStarted, afterVariableChanged, beforeNodeLeft, beforeNodeTriggered, beforeProcessCompleted, beforeProcessStarted, beforeVariableChanged
-
-
-
-
Method Detail
-
afterSLAViolated
public void afterSLAViolated(org.kie.api.event.process.SLAViolatedEvent event)
- Specified by:
afterSLAViolated
in interfaceorg.kie.api.event.process.ProcessEventListener
-
getCaseFile
protected CaseFileInstance getCaseFile(org.kie.api.runtime.KieSession ksession)
-
close
public void close()
- Specified by:
close
in interfaceorg.kie.internal.runtime.Cacheable
-
-