Class SchemaContextTemplate
java.lang.Object
com.aquima.interactions.test.templates.context.EventContextTemplate
com.aquima.interactions.test.templates.context.SchemaContextTemplate
Template that may be used to create an schema context.
- Since:
- 9.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the template with an new application template.SchemaContextTemplate
(IApplicationTemplate application) Constructs the template with the specified application template. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String name, String strValue) This method may be used to add a parameter for the container.This method returns the application template that is used by the action context.protected com.aquima.interactions.foundation.IParameters
void
setXmlElementContext
(com.aquima.interactions.communication.IXmlElementContext context) This method may be used to set the xml element context that should be used for this schema context.com.aquima.interactions.portal.ISchemaContext
This method converts the template to an schema context.Methods inherited from class com.aquima.interactions.test.templates.context.EventContextTemplate
getEvent, getSessionId, setFiredEvent, setSessionId
-
Constructor Details
-
SchemaContextTemplate
public SchemaContextTemplate()Constructs the template with an new application template. -
SchemaContextTemplate
Constructs the template with the specified application template.- Parameters:
application
- The application template that should be used by the action context.
-
-
Method Details
-
addParameter
This method may be used to add a parameter for the container.- Parameters:
name
- The name of the parameter.strValue
- The value of the parameter.
-
getParameters
protected com.aquima.interactions.foundation.IParameters getParameters() -
getApplicationTemplate
This method returns the application template that is used by the action context.- Specified by:
getApplicationTemplate
in classEventContextTemplate
- Returns:
- the application template that is used by the action context.
-
setXmlElementContext
public void setXmlElementContext(com.aquima.interactions.communication.IXmlElementContext context) This method may be used to set the xml element context that should be used for this schema context.- Parameters:
context
- The xml element context.
-
toContext
public com.aquima.interactions.portal.ISchemaContext toContext()This method converts the template to an schema context.- Returns:
- Schema context based on the template.
-