Package net.officefloor.polyglot.test
Class AbstractPolyglotProcedureTest.FlowHandlers
java.lang.Object
net.officefloor.polyglot.test.AbstractPolyglotProcedureTest.FlowHandlers
- Enclosing class:
- AbstractPolyglotProcedureTest
Handles various flow outputs from the procedure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the exception flow.voidHandles the flow output.voidflowWithCallback(Out<String> result) Handles the flow with callback output.voidflowWithParameter(String param, Var<String> result) Handles the flow with parameter output.voidflowWithParameterAndCallback(String param, Var<String> result) Handles the flow with parameter and callback output.voidnextFunction(Out<String> result) Handles the next function flow.
-
Constructor Details
-
FlowHandlers
public FlowHandlers()
-
-
Method Details
-
nextFunction
Handles the next function flow.- Parameters:
result- Output for the result.
-
flow
Handles the flow output.- Parameters:
result- Output for the result.
-
flowWithCallback
Handles the flow with callback output.- Parameters:
result- Output for the result.
-
flowWithParameterAndCallback
Handles the flow with parameter and callback output.- Parameters:
param- Flow parameter.result- Output for the result.
-
flowWithParameter
Handles the flow with parameter output.- Parameters:
param- Flow parameter.result- Output for the result.
-
exception
Handles the exception flow.- Parameters:
result- Output for the result.
-