Uses of Interface
dev.dsf.bpe.v2.ProcessPluginApi
Packages that use ProcessPluginApi
Package
Description
-
Uses of ProcessPluginApi in dev.dsf.bpe.v2.activity
Methods in dev.dsf.bpe.v2.activity with parameters of type ProcessPluginApiModifier and TypeMethodDescriptionprotected void
DefaultUserTaskListener.afterQuestionnaireResponseCreate
(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponseValues, org.hl7.fhir.r4.model.QuestionnaireResponse afterCreate) Override this method to execute code after theQuestionnaireResponse
resource has been created on the DSF FHIR serverprotected void
DefaultUserTaskListener.beforeQuestionnaireResponseCreate
(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponseValues, org.hl7.fhir.r4.model.QuestionnaireResponse beforeCreate) Override this method to modify theQuestionnaireResponse
before it will be created in stateQuestionnaireResponse.QuestionnaireResponseStatus.INPROGRESS
on the DSF FHIR serverprotected org.hl7.fhir.r4.model.QuestionnaireResponse
DefaultUserTaskListener.createQuestionnaireResponse
(ProcessPluginApi api, org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse) default void
MessageActivity.execute
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues) Default implementation uses aTaskSender
fromMessageActivity.getTaskSender(ProcessPluginApi, Variables, SendTaskValues)
to sendTask
resources with theBusinessKeyStrategy
fromMessageActivity.getBusinessKeyStrategy()
.default void
MessageSendTask.execute
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues) Default implementation uses aTaskSender
fromMessageActivity.getTaskSender(ProcessPluginApi, Variables, SendTaskValues)
to sendTask
resources with theBusinessKeyStrategy
fromMessageActivity.getBusinessKeyStrategy()
.void
ServiceTask.execute
(ProcessPluginApi api, Variables variables) default List
<org.hl7.fhir.r4.model.Task.ParameterComponent> MessageActivity.getAdditionalInputParameters
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Target target) default TaskSender
MessageActivity.getTaskSender
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues) void
DefaultUserTaskListener.notify
(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponseValues) void
ExecutionListener.notify
(ProcessPluginApi api, Variables variables) void
UserTaskListener.notify
(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponse) -
Uses of ProcessPluginApi in dev.dsf.bpe.v2.activity.task
Fields in dev.dsf.bpe.v2.activity.task declared as ProcessPluginApiConstructors in dev.dsf.bpe.v2.activity.task with parameters of type ProcessPluginApiModifierConstructorDescriptionDefaultTaskSender
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, BusinessKeyStrategy businessKeyStrategy) DefaultTaskSender
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, BusinessKeyStrategy businessKeyStrategy, Function<Target, List<org.hl7.fhir.r4.model.Task.ParameterComponent>> additionalInputParameters) -
Uses of ProcessPluginApi in dev.dsf.bpe.v2.error
Methods in dev.dsf.bpe.v2.error with parameters of type ProcessPluginApiModifier and TypeMethodDescriptionErrorBoundaryEventErrorHandler.handleErrorBoundaryEvent
(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) ExceptionErrorHandler.handleException
(ProcessPluginApi api, Variables variables, Exception exception) MessageActivityErrorHandler.handleException
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) -
Uses of ProcessPluginApi in dev.dsf.bpe.v2.error.impl
Methods in dev.dsf.bpe.v2.error.impl with parameters of type ProcessPluginApiModifier and TypeMethodDescriptionprotected String
AbstractMessageActivityErrorHandler.createErrorMessage
(ProcessPluginApi api, Variables variables, Exception exception, SendTaskValues sendTaskValues, Function<Exception, String> getExceptionMessage) protected String
AbstractErrorHandler.createErrorMessageFromException
(ProcessPluginApi api, Variables variables, Exception exception) protected org.hl7.fhir.r4.model.Task.TaskOutputComponent
AbstractErrorHandler.createTaskErrorOutput
(ProcessPluginApi api, Variables variables, String errorMessage) protected List
<org.hl7.fhir.r4.model.Task> AbstractErrorHandler.getTasks
(ProcessPluginApi api, Variables variables, Exception exception) AbstractErrorHandler.handleErrorBoundaryEvent
(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) Logs the givenErrorBoundaryEvent
and returns the event without modification.ExceptionToErrorBoundaryEventTranslationErrorHandler.handleErrorBoundaryEvent
(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) AbstractErrorHandler.handleException
(ProcessPluginApi api, Variables variables, Exception exception) Logs the givenException
, updates all receivedTask
resource withTask.TaskStatus.INPROGRESS
toTask.TaskStatus.FAILED
and adds aTask.TaskOutputComponent
of typeCodeSystems.BpmnMessage.error()
.DefaultMessageEndEventErrorHandler.handleException
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) Logs the givenException
, updates all receivedTask
resource withTask.TaskStatus.INPROGRESS
toTask.TaskStatus.FAILED
and adds aTask.TaskOutputComponent
of typeCodeSystems.BpmnMessage.error()
.DefaultMessageIntermediateThrowEventErrorHandler.handleException
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) Logs the givenException
, updates all receivedTask
resource withTask.TaskStatus.INPROGRESS
toTask.TaskStatus.FAILED
and adds aTask.TaskOutputComponent
of typeCodeSystems.BpmnMessage.error()
.DefaultMessageSendTaskErrorHandler.handleException
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) Single instance message send task (Targets
variables not set or empty):ExceptionToErrorBoundaryEventTranslationErrorHandler.handleException
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) ExceptionToErrorBoundaryEventTranslationErrorHandler.handleException
(ProcessPluginApi api, Variables variables, Exception exception) protected Exception
DefaultMessageSendTaskErrorHandler.handleMultiInstance
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception, Targets targets) protected Exception
DefaultMessageSendTaskErrorHandler.handleSingleInstance
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) protected void
AbstractErrorHandler.updateFailedIfInprogress
(ProcessPluginApi api, Variables variables, String errorMessage, List<org.hl7.fhir.r4.model.Task> tasks) protected void
AbstractErrorHandler.updateTaskAndHandleException
(ProcessPluginApi api, Variables variables, org.hl7.fhir.r4.model.Task task)