Package dev.dsf.bpe.subscription
Class TaskHandler
java.lang.Object
dev.dsf.bpe.subscription.TaskHandler
- All Implemented Interfaces:
ResourceHandler<org.hl7.fhir.r4.model.Task>,org.springframework.beans.factory.InitializingBean
public class TaskHandler
extends Object
implements ResourceHandler<org.hl7.fhir.r4.model.Task>, org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTaskHandler(org.camunda.bpm.engine.RuntimeService runtimeService, org.camunda.bpm.engine.RepositoryService repositoryService, FhirWebserviceClient webserviceClient) -
Method Summary
-
Field Details
-
TASK_VARIABLE
-
-
Constructor Details
-
TaskHandler
public TaskHandler(org.camunda.bpm.engine.RuntimeService runtimeService, org.camunda.bpm.engine.RepositoryService repositoryService, FhirWebserviceClient webserviceClient)
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
onResource
public void onResource(org.hl7.fhir.r4.model.Task task) - Specified by:
onResourcein interfaceResourceHandler<org.hl7.fhir.r4.model.Task>
-
onMessage
protected void onMessage(String businessKey, String correlationKey, String processDomain, String processDefinitionKey, String processVersion, String messageName, Map<String, Object> variables) - Parameters:
businessKey- may benullcorrelationKey- may benullprocessDomain- notnullprocessDefinitionKey- notnullprocessVersion- notnullmessageName- notnullvariables- may benull
-