Class ProcessExtensionFactoryTemplate
java.lang.Object
com.aquima.interactions.test.templates.resource.ProcessExtensionFactoryTemplate
- All Implemented Interfaces:
Serializable
Template that can be used to create a custom process engine factory.
- Since:
- 9.1
- Author:
- A.Pragt
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthorizationAlgorithm
(String name, com.aquima.interactions.process.IAuthorizationAlgorithm implementation) Add an authorization algorithm implementation.void
addPriorityAlgorithm
(String name, com.aquima.interactions.process.IPriorityAlgorithm implementation) Add an priority algorithm implementation.void
addRoutingAlgorithm
(String name, com.aquima.interactions.process.IRoutingAlgorithm implementation) Add an authorization algorithm implementation.protected com.aquima.interactions.process.IAuthorizationAlgorithm
protected com.aquima.interactions.process.IPriorityAlgorithm
getPriorityAlgorithm
(String name) protected com.aquima.interactions.process.IRoutingAlgorithm
getRoutingAlgorithm
(String name) com.aquima.interactions.process.IProcessExtensionFactory
This method returns an implementation of the ICustomSchemaElementFactory interface based on this template.
-
Constructor Details
-
ProcessExtensionFactoryTemplate
public ProcessExtensionFactoryTemplate()
-
-
Method Details
-
addAuthorizationAlgorithm
public void addAuthorizationAlgorithm(String name, com.aquima.interactions.process.IAuthorizationAlgorithm implementation) Add an authorization algorithm implementation.- Parameters:
name
- The name of the element.implementation
- The implementation of the algorithm.
-
addPriorityAlgorithm
public void addPriorityAlgorithm(String name, com.aquima.interactions.process.IPriorityAlgorithm implementation) Add an priority algorithm implementation.- Parameters:
name
- The name of the element.implementation
- The implementation of the algorithm.
-
addRoutingAlgorithm
public void addRoutingAlgorithm(String name, com.aquima.interactions.process.IRoutingAlgorithm implementation) Add an authorization algorithm implementation.- Parameters:
name
- The name of the element.implementation
- The implementation of the algorithm.
-
toFactory
public com.aquima.interactions.process.IProcessExtensionFactory toFactory()This method returns an implementation of the ICustomSchemaElementFactory interface based on this template.- Returns:
- an implementation of the ICustomSchemaElementFactory interface based on this template.
-
getAuthorizationAlgorithm
protected com.aquima.interactions.process.IAuthorizationAlgorithm getAuthorizationAlgorithm(String name) -
getPriorityAlgorithm
-
getRoutingAlgorithm
-