Class FunctionCallTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.project.FunctionCallTemplate
Template that can be used to initialize a function call definition
- Since:
- 10.3
- Author:
- T. van der Griend
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionCallTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String callName, String moduleName, String flowName) Constructs the function call template with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionaddInputParameter
(String parameterName, String expression) This method adds an input parameter to the function call template.addOutputParameter
(String parameterName, String outputAttribute) This method adds an output parameter to the function call template.com.aquima.interactions.portal.ds.FlowReference
This method returns the flow reference used for executing the function call.This method returns the input parameters of the function call.getName()
This method returns the name of the function call.This method returns the input parameters of the function call.com.aquima.interactions.portal.ds.IFunctionCallDS
This method converts the template to a data source that can be used to initialize a function call definition.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
FunctionCallTemplate
public FunctionCallTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String callName, String moduleName, String flowName) Constructs the function call template with the required arguments.- Parameters:
report
- Report that should be used to add error and warnings to.moduleName
- The moduleName of the function.flowName
- The flowName of the function.
-
-
Method Details
-
addInputParameter
public FunctionCallInputParameterTemplate addInputParameter(String parameterName, String expression) This method adds an input parameter to the function call template.- Parameters:
parameterName
- The parameter name of the input parameter.expression
- The expression of the input parameter.
-
addOutputParameter
public FunctionCallOutputParameterTemplate addOutputParameter(String parameterName, String outputAttribute) This method adds an output parameter to the function call template.- Parameters:
parameterName
- The parameter name of the ouput parameter.outputAttribute
- The output attribute of the output parameter.
-
toDataSource
public com.aquima.interactions.portal.ds.IFunctionCallDS toDataSource()This method converts the template to a data source that can be used to initialize a function call definition.- Returns:
- a data source that can be used to initialize a function call definition.
-
getName
This method returns the name of the function call.- Returns:
- The function call name.
-
getFlowReference
public com.aquima.interactions.portal.ds.FlowReference getFlowReference()This method returns the flow reference used for executing the function call.- Returns:
- The flow reference.
-
getInputParameters
This method returns the input parameters of the function call.- Returns:
- The a list of
FunctionCallInputParameterTemplate
.
-
getOutputParameters
This method returns the input parameters of the function call.- Returns:
- The a list of
FunctionCallOutputParameterTemplate
.
-