Class LinkedProcessExtensionFactory
java.lang.Object
com.aquima.interactions.portal.model.factory.LinkedProcessExtensionFactory
- All Implemented Interfaces:
IProcessExtensionFactory
Process factory implementation that combines two factories.
- Since:
- 9.1
- Author:
- A.Pragt
-
Method Summary
Modifier and TypeMethodDescriptionstatic IProcessExtensionFactory
createFor
(IProcessExtensionFactory factory, IProcessExtensionFactory defaultFactory) This method returns a process factory implementation that combines both the schema factories that are passed to this method.Returns the authorization algorithm.getPriorityAlgorithm
(String name) Returns the priority algorithm.getRoutingAlgorithm
(String name) Returns the routing algorithm.
-
Method Details
-
createFor
public static IProcessExtensionFactory createFor(IProcessExtensionFactory factory, IProcessExtensionFactory defaultFactory) This method returns a process factory implementation that combines both the schema factories that are passed to this method.- Parameters:
factory
- The process factory that should be used first(optional).defaultFactory
- The process factory that should be used when the first did not supply an implementation (mandatory).- Returns:
- a process factory implementation that combines both the factories that are passed to this method.
-
getAuthorizationAlgorithm
Description copied from interface:IProcessExtensionFactory
Returns the authorization algorithm.- Specified by:
getAuthorizationAlgorithm
in interfaceIProcessExtensionFactory
- Parameters:
name
- The name of the algorithm, not null.- Returns:
- The algorithm implementation, never null.
-
getRoutingAlgorithm
Description copied from interface:IProcessExtensionFactory
Returns the routing algorithm.- Specified by:
getRoutingAlgorithm
in interfaceIProcessExtensionFactory
- Parameters:
name
- The name of the algorithm, not null.- Returns:
- The algorithm implementation, never null.
-
getPriorityAlgorithm
Description copied from interface:IProcessExtensionFactory
Returns the priority algorithm.- Specified by:
getPriorityAlgorithm
in interfaceIProcessExtensionFactory
- Parameters:
name
- The name of the algorithm, not null.- Returns:
- The algorithm implementation, never null.
-