Class ConfigurationTemplate
java.lang.Object
com.aquima.interactions.test.templates.ConfigurationTemplate
The configuration template can be used to specify application parameters.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the configuration template with the default values. -
Method Summary
Modifier and TypeMethodDescriptionprotected com.aquima.interactions.portal.ApplicationMode
protected com.aquima.interactions.ds.matching.ICaseProvider
This method returns the connection manager template.This method returns the factory manager template.protected String
protected String
protected com.aquima.interactions.process.dao.IProcessCaseDao
com.aquima.interactions.foundation.io.IResourceManager
This method returns the current resource manager.protected SpellEngineTemplate
getTimer()
protected com.aquima.interactions.trace.dao.ITraceDao
com.aquima.interactions.userscope.dao.IUserScopeDao
protected boolean
protected boolean
protected boolean
void
setApplicationMode
(com.aquima.interactions.portal.ApplicationMode mode) This method can be used to override the application mode.void
setCaseProvider
(com.aquima.interactions.ds.matching.ICaseProvider caseProvider) This method can be used to specify the case provider for the match engine.void
setMatchConfigurationFile
(String matchConfigurationFile) This method can be used to specify the location of the match configuration XML.void
setOutputFailedMasks
(boolean outputFailedMasks) This method can be used to override the output failed masks parameter.void
setParserVersion
(String version) This method may be used to specify the version of the expression parser (for instance 4.2 or 6.4).void
setProcessCaseDao
(com.aquima.interactions.process.dao.IProcessCaseDao dao) void
setReadonlyDuringExpand
(boolean readonlyDuringExpand) This method can be used to override the readonly-during-expand parameter.void
setResourceManager
(com.aquima.interactions.foundation.io.IResourceManager resourceManager) This method set the current resource manager.void
setTargetDownCastingEnabled
(boolean enabled) This method can be used to enable down-casting in rules (disabled by default).void
setTraceDao
(com.aquima.interactions.trace.dao.ITraceDao traceDao) void
setWrapFailedElements
(boolean wrapElements) This method can be used to override the wrap-failed-elements parameter.protected boolean
protected boolean
com.aquima.interactions.ds.IApplicationConfiguration
This method converts the template to an application configuration object.com.aquima.interactions.ds.IAquimaConfiguration
This method converts the template to an aquima configuration object.
-
Constructor Details
-
ConfigurationTemplate
public ConfigurationTemplate()Constructs the configuration template with the default values.
-
-
Method Details
-
getSpellEngine
-
isCachingEnabled
protected boolean isCachingEnabled() -
getTraceDao
protected com.aquima.interactions.trace.dao.ITraceDao getTraceDao() -
setTraceDao
public void setTraceDao(com.aquima.interactions.trace.dao.ITraceDao traceDao) -
getApplicationMode
protected com.aquima.interactions.portal.ApplicationMode getApplicationMode() -
setApplicationMode
public void setApplicationMode(com.aquima.interactions.portal.ApplicationMode mode) This method can be used to override the application mode. The default application mode is DEV.- Parameters:
mode
- The application mode of the application.
-
getResourceManager
public com.aquima.interactions.foundation.io.IResourceManager getResourceManager()This method returns the current resource manager.- Returns:
- The current resource manager.
-
setResourceManager
public void setResourceManager(com.aquima.interactions.foundation.io.IResourceManager resourceManager) This method set the current resource manager.- Parameters:
resourceManager
- The resource manager to use.
-
isReadonlyDuringExpand
protected boolean isReadonlyDuringExpand() -
setReadonlyDuringExpand
public void setReadonlyDuringExpand(boolean readonlyDuringExpand) This method can be used to override the readonly-during-expand parameter. The default value for this parameter is true.- Parameters:
readonlyDuringExpand
- Boolean indicating if the profile is readonly in the expand of dynamic containers.
-
shouldWrapFailedElements
protected boolean shouldWrapFailedElements() -
shouldOutputFailedMasks
protected boolean shouldOutputFailedMasks() -
setWrapFailedElements
public void setWrapFailedElements(boolean wrapElements) This method can be used to override the wrap-failed-elements parameter. The default value for this parameter id true.- Parameters:
wrapElements
- Boolean indicating if failed elements should be replaced or throw an exception.
-
setOutputFailedMasks
public void setOutputFailedMasks(boolean outputFailedMasks) This method can be used to override the output failed masks parameter. The default value for this parameter id true.- Parameters:
outputFailedMasks
- Boolean indicating if failed masks should be included in the document or throw an exception.
-
isTargetDownCastingEnabled
protected boolean isTargetDownCastingEnabled() -
setTargetDownCastingEnabled
public void setTargetDownCastingEnabled(boolean enabled) This method can be used to enable down-casting in rules (disabled by default).- Parameters:
enabled
- Boolean indicating if down-casting is allowed in rules.
-
getFactoryManager
This method returns the factory manager template.- Returns:
- the factory manager template.
-
getConnectionManager
This method returns the connection manager template.- Returns:
- the connection manager template.
-
getMatchConfigurationFile
-
setMatchConfigurationFile
This method can be used to specify the location of the match configuration XML.- Parameters:
matchConfigurationFile
- the location of the match configuration XML.
-
getCaseProvider
protected com.aquima.interactions.ds.matching.ICaseProvider getCaseProvider() -
setCaseProvider
public void setCaseProvider(com.aquima.interactions.ds.matching.ICaseProvider caseProvider) This method can be used to specify the case provider for the match engine.- Parameters:
caseProvider
- the case provider for the match engine.
-
getParserVersion
-
setParserVersion
This method may be used to specify the version of the expression parser (for instance 4.2 or 6.4).- Parameters:
version
- The version of the expression parser that should be used.
-
toConfiguration
public com.aquima.interactions.ds.IAquimaConfiguration toConfiguration()This method converts the template to an aquima configuration object.- Returns:
- an aquima configuration object.
-
toApplicationConfiguration
public com.aquima.interactions.ds.IApplicationConfiguration toApplicationConfiguration()This method converts the template to an application configuration object.- Returns:
- an application configuration object.
-
getTimer
-
getUserScopeDao
public com.aquima.interactions.userscope.dao.IUserScopeDao getUserScopeDao() -
getProcessCaseDao
protected com.aquima.interactions.process.dao.IProcessCaseDao getProcessCaseDao() -
setProcessCaseDao
public void setProcessCaseDao(com.aquima.interactions.process.dao.IProcessCaseDao dao)
-