Package dev.dsf.bpe.listener
Class AbstractListener
java.lang.Object
dev.dsf.bpe.listener.AbstractListener
- All Implemented Interfaces:
org.camunda.bpm.engine.delegate.DelegateListener<org.camunda.bpm.engine.delegate.DelegateExecution>,org.camunda.bpm.engine.delegate.ExecutionListener,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
ContinueListener,EndListener,StartListener
public abstract class AbstractListener
extends Object
implements org.camunda.bpm.engine.delegate.ExecutionListener, org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE -
Constructor Summary
ConstructorsConstructorDescriptionAbstractListener(String serverBaseUrl, Function<org.camunda.bpm.engine.delegate.DelegateExecution, ListenerVariables> variablesFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract voiddoNotify(org.camunda.bpm.engine.delegate.DelegateExecution execution, ListenerVariables variables) protected final Stringprotected final StringgetFirstInputParameter(org.hl7.fhir.r4.model.Task task, org.hl7.fhir.r4.model.Coding code) protected final StringgetLocalVersionlessAbsoluteUrl(org.hl7.fhir.r4.model.Task task) protected final StringgetRequesterIdentifierValue(org.hl7.fhir.r4.model.Task task) final voidnotify(org.camunda.bpm.engine.delegate.DelegateExecution execution)
-
Constructor Details
-
AbstractListener
public AbstractListener(String serverBaseUrl, Function<org.camunda.bpm.engine.delegate.DelegateExecution, ListenerVariables> variablesFactory)
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
notify
public final void notify(org.camunda.bpm.engine.delegate.DelegateExecution execution) throws Exception - Specified by:
notifyin interfaceorg.camunda.bpm.engine.delegate.DelegateListener<org.camunda.bpm.engine.delegate.DelegateExecution>- Specified by:
notifyin interfaceorg.camunda.bpm.engine.delegate.ExecutionListener- Throws:
Exception
-
doNotify
protected abstract void doNotify(org.camunda.bpm.engine.delegate.DelegateExecution execution, ListenerVariables variables) throws Exception - Throws:
Exception
-
getLocalVersionlessAbsoluteUrl
-
getFirstInputParameter
protected final String getFirstInputParameter(org.hl7.fhir.r4.model.Task task, org.hl7.fhir.r4.model.Coding code) -
getCurrentTime
-
getRequesterIdentifierValue
-