T
- Context typepublic abstract class ValidatedExecution<T extends BaseContext> extends Object implements org.flowable.engine.delegate.JavaDelegate
ContextMode.MOCK_REAL_CALLS
execution mode and Real ASPSP API calls (ContextMode.REAL_CALLS
.Constructor and Description |
---|
ValidatedExecution() |
Modifier and Type | Method and Description |
---|---|
protected void |
doAfterCall(org.flowable.engine.delegate.DelegateExecution execution,
T context)
Is called as a finishing operation to i.e.
|
protected void |
doMockedExecution(org.flowable.engine.delegate.DelegateExecution execution,
T context)
Mock ASPSP API function call template.
|
protected void |
doPrepareContext(org.flowable.engine.delegate.DelegateExecution execution,
T context)
Used to update BPMN context before any execution.
|
protected abstract void |
doRealExecution(org.flowable.engine.delegate.DelegateExecution execution,
T context)
Real ASPSP call function template.
|
protected void |
doValidate(org.flowable.engine.delegate.DelegateExecution execution,
T context)
Validation function template for BPMN context.
|
void |
execute(org.flowable.engine.delegate.DelegateExecution execution)
Entrypoint for Flowable BPMN to call the service.
|
@Transactional(noRollbackFor=org.flowable.engine.delegate.BpmnError.class) public void execute(org.flowable.engine.delegate.DelegateExecution execution)
execute
in interface org.flowable.engine.delegate.JavaDelegate
protected void doPrepareContext(org.flowable.engine.delegate.DelegateExecution execution, T context)
protected void doValidate(org.flowable.engine.delegate.DelegateExecution execution, T context)
protected abstract void doRealExecution(org.flowable.engine.delegate.DelegateExecution execution, T context)
protected void doMockedExecution(org.flowable.engine.delegate.DelegateExecution execution, T context)
protected void doAfterCall(org.flowable.engine.delegate.DelegateExecution execution, T context)
Copyright © 2020. All rights reserved.