Class 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 Detail

      • NotifyOwnerSLAViolationListener

        public NotifyOwnerSLAViolationListener()
      • NotifyOwnerSLAViolationListener

        public NotifyOwnerSLAViolationListener​(String subject,
                                               String body,
                                               String template)
    • Method Detail

      • afterSLAViolated

        public void afterSLAViolated​(org.kie.api.event.process.SLAViolatedEvent event)
        Specified by:
        afterSLAViolated in interface org.kie.api.event.process.ProcessEventListener
      • getCaseFile

        protected CaseFileInstance getCaseFile​(org.kie.api.runtime.KieSession ksession)
      • close

        public void close()
        Specified by:
        close in interface org.kie.internal.runtime.Cacheable
      • buildEmailParameters

        protected Map<String,​Object> buildEmailParameters​(String recipients,
                                                                String caseId,
                                                                org.kie.api.event.process.SLAViolatedEvent event)