public class NotifyOwnerSLAViolationListener
extends org.kie.api.event.process.DefaultProcessEventListener
implements org.kie.internal.runtime.Cacheable
Constructor and Description |
---|
NotifyOwnerSLAViolationListener() |
NotifyOwnerSLAViolationListener(String subject,
String body,
String template) |
Modifier and Type | Method and 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) |
afterNodeLeft, afterNodeTriggered, afterProcessCompleted, afterProcessStarted, afterVariableChanged, beforeNodeLeft, beforeNodeTriggered, beforeProcessCompleted, beforeProcessStarted, beforeVariableChanged
public void afterSLAViolated(org.kie.api.event.process.SLAViolatedEvent event)
afterSLAViolated
in interface org.kie.api.event.process.ProcessEventListener
protected CaseFileInstance getCaseFile(org.kie.api.runtime.KieSession ksession)
public void close()
close
in interface org.kie.internal.runtime.Cacheable
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.