Class WithdrawLoanWorkflow
java.lang.Object
io.nflow.engine.model.ModelObject
io.nflow.engine.workflow.definition.WorkflowDefinition
io.nflow.tests.demo.workflow.WithdrawLoanWorkflow
-
Field Summary
Fields inherited from class WorkflowDefinition
allowedTransitions, failureTransitions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLoan(StateExecution execution, Mutable<CreateLoanResponse> loan, Mutable<QueryCreditApplicationResponse> application) transferMoney(StateExecution execution) transferMoneyFailed(StateExecution execution) updateCreditApplication(StateExecution execution) Methods inherited from class WorkflowDefinition
getAllowedTransitions, getDescription, getErrorState, getFailureTransitions, getInitialState, getMethod, getMethod, getName, getSettings, getState, getStates, getSupportedSignals, getType, isAllowedNextAction, isAllowedStateTransition, isStartState, permit, permit, registerState, setDescription, setNameMethods inherited from class ModelObject
equals, hashCode, toString
-
Constructor Details
-
WithdrawLoanWorkflow
@Inject public WithdrawLoanWorkflow()
-
-
Method Details
-
createLoan
public NextAction createLoan(StateExecution execution, Mutable<CreateLoanResponse> loan, Mutable<QueryCreditApplicationResponse> application) -
transferMoney
-
updateCreditApplication
-
transferMoneyFailed
-